synapses-cas 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/bin/cas_config.yml +595 -0
  2. data/bin/synapses-cas +1 -2
  3. data/lib/casserver/authenticators/sql.rb +1 -1
  4. data/lib/casserver/model.rb +4 -4
  5. data/lib/casserver/server.rb +17 -10
  6. data/lib/casserver/views/layout.erb +6 -5
  7. data/lib/casserver/views/login.erb +36 -27
  8. data/locales/en.yml +2 -2
  9. data/locales/pt.yml +3 -3
  10. data/public/flags/en.png +0 -0
  11. data/public/flags/es.png +0 -0
  12. data/public/flags/pt.png +0 -0
  13. data/public/js/bootstrap.js +1835 -0
  14. data/public/js/bootstrap.min.js +7 -0
  15. data/public/js/jquery-1.7.1.min.js +4 -0
  16. data/public/themes/bootstrap/css/extra.css +34 -0
  17. data/public/themes/bootstrap/css/theme.css +729 -0
  18. data/public/themes/{urbacon → bootstrap/img}/bg.png +0 -0
  19. data/public/themes/bootstrap/img/glyphicons-halflings-white.png +0 -0
  20. data/public/themes/bootstrap/img/glyphicons-halflings.png +0 -0
  21. data/public/themes/bootstrap/img/logo.png +0 -0
  22. data/resources/init.d.sh +1 -1
  23. data/synapses-cas.gemspec +50 -0
  24. data/tasks/bundler.rake +1 -1
  25. metadata +17 -26
  26. data/locales/de.yml +0 -27
  27. data/locales/es.yml +0 -26
  28. data/locales/es_ar.yml +0 -26
  29. data/locales/fr.yml +0 -26
  30. data/locales/jp.yml +0 -26
  31. data/locales/pl.yml +0 -26
  32. data/locales/ru.yml +0 -26
  33. data/locales/zh.yml +0 -26
  34. data/locales/zh_tw.yml +0 -26
  35. data/public/themes/simple/bg.png +0 -0
  36. data/public/themes/simple/favicon.png +0 -0
  37. data/public/themes/simple/login_box_bg.png +0 -0
  38. data/public/themes/simple/logo.png +0 -0
  39. data/public/themes/simple/theme.css +0 -28
  40. data/public/themes/urbacon/login_box_bg.png +0 -0
  41. data/public/themes/urbacon/logo.png +0 -0
  42. data/public/themes/urbacon/theme.css +0 -33
File without changes
data/resources/init.d.sh CHANGED
@@ -23,7 +23,7 @@
23
23
  # Description: Start the RubyCAS-Server
24
24
  ### END INIT INFO
25
25
 
26
- CASSERVER_CTL=rubycas-server-ctl
26
+ CASSERVER_CTL=synapses-cas-ctl
27
27
 
28
28
  # Gracefully exit if the controller is missing.
29
29
  which $CASSERVER_CTL > /dev/null || exit 0
@@ -0,0 +1,50 @@
1
+ $gemspec = Gem::Specification.new do |s|
2
+ s.name = 'synapses-cas'
3
+ s.version = '0.1.1'
4
+ s.authors = ["Synapses Group"]
5
+ s.email = ["tiago@synapses.com.br"]
6
+ s.homepage = 'https://github.com/synapsesgroup/synapses-cas'
7
+ s.platform = Gem::Platform::RUBY
8
+ s.summary = %q{Provides single sign-on authentication for web applications using the CAS protocol.}
9
+ s.description = %q{Provides single sign-on authentication for web applications using the CAS protocol.}
10
+
11
+ s.files = [
12
+ "CHANGELOG", "LICENSE", "README.md", "Rakefile", "setup.rb",
13
+ "bin/*", "db/**/*", "lib/**/*.rb", "public/**/*", "locales/**/*", "resources/*.*",
14
+ "config.ru", "config/**/*", "tasks/**/*.rake", "vendor/**/*", "script/*", "lib/**/*.erb", "lib/**/*.builder",
15
+ "Gemfile", "synapses-cas.gemspec"
16
+ ].map{|p| Dir[p]}.flatten
17
+
18
+ s.test_files = `git ls-files -- spec`.split("\n")
19
+
20
+ s.executables = ["synapses-cas"]
21
+ s.bindir = "bin"
22
+ s.require_path = "lib"
23
+
24
+ s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md"]
25
+
26
+ s.has_rdoc = true
27
+ s.post_install_message = "For more information on RubyCAS-Server, see http://code.google.com/p/rubycas-server"
28
+
29
+ s.add_dependency("activerecord", ">= 2.3.12", "< 3.1")
30
+ s.add_dependency("activesupport", ">= 2.3.12", "< 3.1")
31
+ s.add_dependency("sinatra", "~> 1.0")
32
+ s.add_dependency("sinatra-r18n")
33
+ s.add_dependency("crypt-isaac", "~> 0.9.1")
34
+
35
+ s.add_development_dependency("rack-test")
36
+ s.add_development_dependency("capybara", '1.1.2')
37
+ s.add_development_dependency("rspec")
38
+ s.add_development_dependency("rspec-core")
39
+ s.add_development_dependency("rake", "0.8.7")
40
+ s.add_development_dependency("sqlite3", "~> 1.3.1")
41
+
42
+ # for authenticator specs
43
+ s.add_development_dependency("net-ldap", "~> 0.1.1")
44
+ s.add_development_dependency("activeresource", ">= 2.3.12", "< 3.1")
45
+
46
+ s.rdoc_options = [
47
+ '--quiet', '--title', 'RubyCAS-Server Documentation', '--opname',
48
+ 'index.html', '--line-numbers', '--main', 'README.md', '--inline-source'
49
+ ]
50
+ end
data/tasks/bundler.rake CHANGED
@@ -1,4 +1,4 @@
1
1
  require 'bundler'
2
2
  namespace :bundler do
3
- Bundler::GemHelper.install_tasks(:name => 'rubycas-server')
3
+ Bundler::GemHelper.install_tasks(:name => 'synapses-cas')
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synapses-cas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-10 00:00:00.000000000 Z
12
+ date: 2012-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -254,6 +254,7 @@ files:
254
254
  - README.md
255
255
  - Rakefile
256
256
  - setup.rb
257
+ - bin/cas_config.yml
257
258
  - bin/synapses-cas
258
259
  - db/migrate/001_create_initial_structure.rb
259
260
  - lib/casserver/authenticators/active_directory_ldap.rb
@@ -281,30 +282,24 @@ files:
281
282
  - lib/casserver/server.rb
282
283
  - lib/casserver/utils.rb
283
284
  - lib/casserver.rb
285
+ - public/flags/en.png
286
+ - public/flags/es.png
287
+ - public/flags/pt.png
288
+ - public/js/bootstrap.js
289
+ - public/js/bootstrap.min.js
290
+ - public/js/jquery-1.7.1.min.js
291
+ - public/themes/bootstrap/css/extra.css
292
+ - public/themes/bootstrap/css/theme.css
293
+ - public/themes/bootstrap/img/bg.png
294
+ - public/themes/bootstrap/img/glyphicons-halflings-white.png
295
+ - public/themes/bootstrap/img/glyphicons-halflings.png
296
+ - public/themes/bootstrap/img/logo.png
284
297
  - public/themes/cas.css
285
298
  - public/themes/notice.png
286
299
  - public/themes/ok.png
287
- - public/themes/simple/bg.png
288
- - public/themes/simple/favicon.png
289
- - public/themes/simple/login_box_bg.png
290
- - public/themes/simple/logo.png
291
- - public/themes/simple/theme.css
292
- - public/themes/urbacon/bg.png
293
- - public/themes/urbacon/login_box_bg.png
294
- - public/themes/urbacon/logo.png
295
- - public/themes/urbacon/theme.css
296
300
  - public/themes/warning.png
297
- - locales/de.yml
298
301
  - locales/en.yml
299
- - locales/es.yml
300
- - locales/es_ar.yml
301
- - locales/fr.yml
302
- - locales/jp.yml
303
- - locales/pl.yml
304
302
  - locales/pt.yml
305
- - locales/ru.yml
306
- - locales/zh.yml
307
- - locales/zh_tw.yml
308
303
  - resources/init.d.sh
309
304
  - config.ru
310
305
  - config/config.example.yml
@@ -320,6 +315,7 @@ files:
320
315
  - lib/casserver/views/proxy_validate.builder
321
316
  - lib/casserver/views/service_validate.builder
322
317
  - Gemfile
318
+ - synapses-cas.gemspec
323
319
  - spec/alt_config.yml
324
320
  - spec/authenticators/active_resource_spec.rb
325
321
  - spec/authenticators/ldap_spec.rb
@@ -331,12 +327,7 @@ files:
331
327
  - spec/utils_spec.rb
332
328
  homepage: https://github.com/synapsesgroup/synapses-cas
333
329
  licenses: []
334
- post_install_message: ! '
335
-
336
- For more information on RubyCAS-Server, see http://code.google.com/p/rubycas-server
337
-
338
-
339
- '
330
+ post_install_message: For more information on RubyCAS-Server, see http://code.google.com/p/rubycas-server
340
331
  rdoc_options:
341
332
  - --quiet
342
333
  - --title
data/locales/de.yml DELETED
@@ -1,27 +0,0 @@
1
- error:
2
- no_login_ticket: "Your login request did not include a login ticket. There may be a problem with the authentication system."
3
- login_ticket_already_used: "The login ticket you provided has already been used up. Please try logging in again."
4
- login_timeout: "You took too long to enter your credentials. Please try again."
5
- invalid_login_ticket: "The login ticket you provided is invalid. There may be a problem with the authentication system."
6
- login_ticket_needs_post_request: "Für die Generierung eines Login-Tickets, ist eine POST-Anfrage erforderlich."
7
- incorrect_username_or_password: "Falscher Benutzername oder Passwort."
8
- invalid_submit_to_uri: "Der CAS-Login-URI konnte nicht erraten werden. Bitte ergänzen Sie Ihre Anfrage um einen submitToURI Parameter."
9
- invalid_target_service: "Das Ziel-Service, welches Ihr Browsers geliefert hat, scheint ungültig zu sein. Bitte wenden Sie sich an Ihren Systemadministrator, um Hilfe zu erhalten."
10
- unable_to_authenticate: "Client und Server sind nicht in der Lage eine Authentifizierung auszuhandeln. Bitte versuchen Sie, sich zu einem späteren Zeitpunkt erneut anzumelden."
11
- no_service_parameter_given: "Der Server kann diese Gateway-Anfrage nicht erfüllen, da keine Service-Parameter übergeben wurden."
12
-
13
- notice:
14
- logged_in_as: "Sie sind derzeit angemeldet als '%1'. Sollten dies nicht Sie sein, melden Sie sich bitte unten an."
15
- click_to_continue: "Bitte klicken Sie auf den folgenden Link, um fortzufahren:"
16
- success_logged_out: "Sie haben sich erfolgreich vom Central Authentication Service abgemeldet."
17
- success_logged_in: "Sie haben sich erfolgreich am Central Authentication Service angemeldet."
18
- please_wait: "Bitte warten ..."
19
-
20
- label:
21
- username: "Benutzername"
22
- password: "Passwort"
23
- central_login_title: "Zentrales Login"
24
-
25
- button:
26
- login: "ANMELDEN"
27
-
data/locales/es.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "Su pedido de login no incluyó un ticket. Puede que haya un problema con el sistema de autentificación."
3
- login_ticket_already_used: "El ticket de login que ha provisto ya ha sido utilizado. Por favor intente ingresando sus credenciales nuevamente."
4
- login_timeout: "Usted ha tardado mucho en ingresar sus credenciales. Por favor reintente nuevamente."
5
- invalid_login_ticket: "El ticket de login que ha provisto es inválido. Puede que haya un problema con el sistema de autentificación."
6
- login_ticket_needs_post_request: "Para generar un ticket de acceso, usted debe hacer una petición POST."
7
- incorrect_username_or_password: "El email o contraseña ingresados son incorrectos."
8
- invalid_submit_to_uri: "No se ha podido adivinar el URI de acceso al CAS. Suministre un submitToURI como parámetro con su solicitud."
9
- invalid_target_service: "El servicio de destino proporcionado por su navegador parece inválido. Por favor contacte al administrador."
10
- unable_to_authenticate: "El cliente y el servidor no pueden negociar su autentificación. Por favor intente luego."
11
- no_service_parameter_given: "El servidor no puede atender este pedido porque no se especificó el servicio de destino."
12
-
13
- notice:
14
- logged_in_as: "Actualmente está logueado como '%1'. Si este no es usted, por favor ingrese sus datos debajo."
15
- click_to_continue: "Por favor, haga click en el siguiente link para continuar:"
16
- success_logged_out: "Ha finalizado correctamente su sesión de usuario."
17
- success_logged_in: "Has ingresado satisfactoreamente."
18
- please_wait: "Por favor aguarde..."
19
-
20
- label:
21
- username: "Usuario"
22
- password: "Contraseña"
23
- central_login_title: "Servicio de Autenticación Central"
24
-
25
- button:
26
- login: "INICIAR SESIÓN"
data/locales/es_ar.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "Su pedido de login no incluyó un ticket. Puede que haya un problema con el sistema de autentificación."
3
- login_ticket_already_used: "El ticket de login que ha provisto ya ha sido utilizado. Por favor intente ingresando sus credenciales nuevamente."
4
- login_timeout: "Usted ha tardado mucho en ingresar sus credenciales. Por favor reintente nuevamente."
5
- invalid_login_ticket: "El ticket de login que ha provisto es inválido. Puede que haya un problema con el sistema de autentificación."
6
- login_ticket_needs_post_request: "Para generar un ticket de acceso, usted debe hacer una petición POST."
7
- incorrect_username_or_password: "El email o contraseña ingresados son incorrectos."
8
- invalid_submit_to_uri: "No se ha podido adivinar el URI de acceso al CAS. Suministre un submitToURI como parámetro con su solicitud."
9
- invalid_target_service: "El servicio de destino proporcionado por su navegador parece inválido. Por favor contacte al administrador."
10
- unable_to_authenticate: "El cliente y el servidor no pueden negociar su autentificación. Por favor intente luego."
11
- no_service_parameter_given: "El servidor no puede atender este pedido porque no se especificó el servicio de destino."
12
-
13
- notice:
14
- logged_in_as: "Actualmente está logueado como '%1'. Si este no es usted, por favor ingrese sus datos debajo."
15
- click_to_continue: "Por favor, haga click en el siguiente link para continuar:"
16
- success_logged_out: "Ha finalizado correctamente su sesión de usuario."
17
- success_logged_in: "Has ingresado satisfactoreamente."
18
- please_wait: "Por favor aguarde..."
19
-
20
- label:
21
- username: "Usuario"
22
- password: "Contraseña"
23
- central_login_title: "Servicio de Autenticación Central"
24
-
25
- button:
26
- login: "INICIAR SESIÓN"
data/locales/fr.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "Votre requête d'identification n'a pas inclus de ticket d'identification. Il se peut qu'il y ait un problème avec le système d'identification."
3
- login_ticket_already_used: "Le ticket d'identification que vous avez fourni a été consommé. Veuillez essayer de vous reconnecter"
4
- login_timeout: "Le délai de saisie de vos login et mot de passe a expiré. Veuillez réessayer."
5
- invalid_login_ticket: "Le ticket d'identification que vous avez fourni n'est pas valide. Il se peut qu'il y ait un problème avec le système d'identification."
6
- login_ticket_needs_post_request: "Pour générer un ticket de connexion, vous devez faire une requête POST."
7
- incorrect_username_or_password: "Les informations transmises n'ont pas permis de vous authentifier"
8
- invalid_submit_to_uri: "Impossible de trouver l'URI de connection de CAS. Veuillez fournir le paramètre submitToURI avec votre requête."
9
- invalid_target_service: "Le service cible que votre navigateur a fourni semble incorrect. Veuillez contacter votre administrateur système pour assistance."
10
- unable_to_authenticate: "Le client et le serveur ne peuvent négocier l'identification. Veuillez réessayer ultérieurement."
11
- no_service_parameter_given: "Le serveur ne peut pas répondre à cette demande (aucun paramètre de service n'a été donné)."
12
-
13
- notice:
14
- logged_in_as: "Vous êtes actuellement connecté en tant que '%1'. Si ce n'est pas vous, veuillez vous connecter ci-dessous."
15
- click_to_continue: "S'il vous plaît cliquer sur le lien suivant pour continuer:"
16
- success_logged_out: "Vous vous êtes déconnecté(e) du Service Central d'Identification."
17
- success_logged_in: "Vous vous êtes authentifié(e) auprès du Service Central d'Identification."
18
- please_wait: "Veuillez patienter..."
19
-
20
- label:
21
- username: "Identifiant"
22
- password: "Mot de passe"
23
- central_login_title: "Service Central d'Identification."
24
-
25
- button:
26
- login: "SE CONNECTER"
data/locales/jp.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "ログインリクエストにログインチケットが含まれていません。認証システムに問題があるようです。"
3
- login_ticket_already_used: "ログインチケットはすでに使い切られています。もう一度ログインしてください。"
4
- login_timeout: "クレデンシャルの入力に時間が掛かりすぎました。もう一度試してください。"
5
- invalid_login_ticket: "指定されたログインチケットが無効です。認証システムに問題があるようです。"
6
- login_ticket_needs_post_request: "ログインチケットを発行するには、POSTリクエストを送る必要があります。"
7
- incorrect_username_or_password: "ユーザー名またはパスワードが間違っています"
8
- invalid_submit_to_uri: "CASのURIを推測することができませんでした。リクエストにsubmitToURIパラメータを指定してください。"
9
- invalid_target_service: "ブラウザが示す対象サービスは無効のようです。システム管理者に連絡してください。"
10
- unable_to_authenticate: "クライアントとサーバー間で認証ができませんでした。しばらくしてから再度ログインしてください。"
11
- no_service_parameter_given: "サービスパラメーターが指定されていないので、サーバーはゲートウェイリクエストを満たす事ができません。"
12
-
13
- notice:
14
- logged_in_as: "'%1'としてログインしています。違うユーザーでログインするには下に入力してくだ さい。"
15
- click_to_continue: "継続するには、以下のリンクをクリックしてください:"
16
- success_logged_out: "ログアウトしました。"
17
- success_logged_in: "ログインしました"
18
- please_wait: "待つ"
19
-
20
- label:
21
- username: "ユーザー名"
22
- password: "パスワード"
23
- central_login_title: "統合ログイン"
24
-
25
- button:
26
- login: "ログイン"
data/locales/pl.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "Twoje żądanie nie zawiera paraametru 'login ticket'. Prawdopodobnie jest to problem systemu autentykacji."
3
- login_ticket_already_used: "Parametr 'login ticket' który przyszedł w żądaniu został już wykorzystany. Proszę spróbować ponownie."
4
- login_timeout: "You took too long to enter your credentials. Please try again."
5
- invalid_login_ticket: "Parametr 'login ticket' który przyszedł w żądaniu jest nieprawidłowy. Prawdopodobnie jest to problem systemu autentykacji."
6
- login_ticket_needs_post_request: "Aby wygenerować parametr 'login ticket', musisz użyć żądania POST"
7
- incorrect_username_or_password: "Niepoprawny użytkownik lub hasło."
8
- invalid_submit_to_uri: "System nie może odgadnąć URI w celu zalogowania się. Proszę w tym celu dostarczyć parametr 'submitToURI'"
9
- invalid_target_service: "Podany parametr 'service' jest nie prawidłowy. Skontaktuj się z administratorem systemu aby uzyskać pomoc."
10
- unable_to_authenticate: "System nie jest wstanie przeprowadzić autentykacji. Proszę spróbować poźniej"
11
- no_service_parameter_given: "System nie może spełnić żądania ponieważ brakuje parametru 'service'."
12
-
13
- notice:
14
- logged_in_as: "Jesteś aktualnie zalogowany jako '%1'. Jeżeli to nie jesteś ty, zaloguj się tutaj."
15
- click_to_continue: "Proszę kliknąć na poniższy link, aby kontynuować:"
16
- success_logged_out: "Zostałeś poprawnie zalogowany."
17
- success_logged_in: "Zostałeś poprawnie wylogowany."
18
- please_wait: "Chwileczkę..."
19
-
20
- label:
21
- username: "Użytkownik"
22
- password: "Hasło"
23
- central_login_title: "Centralna Usługa Uwierzytelniania"
24
-
25
- button:
26
- login: "Zaloguj"
data/locales/ru.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "Your login request did not include a login ticket. There may be a problem with the authentication system."
3
- login_ticket_already_used: "The login ticket you provided has already been used up. Please try logging in again."
4
- login_timeout: "You took too long to enter your credentials. Please try again."
5
- invalid_login_ticket: "The login ticket you provided is invalid. There may be a problem with the authentication system."
6
- login_ticket_needs_post_request: "Чтобы сгенерировать входной билет вы должны делать POST запрос."
7
- incorrect_username_or_password: "Неверное имя пользователя или пароль."
8
- invalid_submit_to_uri: "Невозможно угадать адрес входа на CAS. Пожалуйста, передайте с запросом параметр submitToURI."
9
- invalid_target_service: "Сервис, указанный вашим браузером, неверен. Свяжитесь с вашим системным администратором."
10
- unable_to_authenticate: "Клиент и сервер не могут провести проверку прав. Попробуйте войти позже."
11
- no_service_parameter_given: "Этот сервер не может выполнить этот запрос, поскольку не были указаны праметры сервиса."
12
-
13
- notice:
14
- logged_in_as: "Вы авторизированы как '%s'."
15
- click_to_continue: "Перейдите по ссылке чтобы продолжить:"
16
- success_logged_out: "Вы успешно вышли."
17
- success_logged_in: "Вы успешно вошли."
18
- please_wait: "Подождите..."
19
-
20
- label:
21
- username: "Логин"
22
- password: "Пароль"
23
- central_login_title: "Центральный вход"
24
-
25
- button:
26
- login: "Войти"
data/locales/zh.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "你的登录请求没包含登录凭证,这可能是认证系统的问题"
3
- login_ticket_already_used: "你提供的登录凭证已经使用过了,请重新登录"
4
- login_timeout: "你的认证花了太长时间,请重新认证"
5
- invalid_login_ticket: "你所提供的登录凭证是无效的,这可能是认证系统的问题"
6
- login_ticket_needs_post_request: "你必须使用 POST 来产生登录凭证"
7
- incorrect_username_or_password: "错误的帐号或密码"
8
- invalid_submit_to_uri: "无法判断 CAS 的登录地址。请提供 submitToURI 的参数"
9
- invalid_target_service: "你的浏览器提供的网址是无效的,请联系你的系统管理员"
10
- unable_to_authenticate: "现在无法认证,请稍后重试"
11
- no_service_parameter_given: "无法完成网关请求,因为没有提供服务的参数"
12
-
13
- notice:
14
- logged_in_as: "你正以 '%1' 的身份登入。如果这不是你,请重新登录"
15
- click_to_continue: "请点击下列连接继续"
16
- success_logged_out: "你成功登出了"
17
- success_logged_in: "你成功登录了"
18
- please_wait: "请稍候..."
19
-
20
- label:
21
- username: "用户名"
22
- password: "密码"
23
- central_login_title: "整合登录"
24
-
25
- button:
26
- login: "登录"
data/locales/zh_tw.yml DELETED
@@ -1,26 +0,0 @@
1
- error:
2
- no_login_ticket: "你沒有傳送登入憑証,這可能是認證系統的問題"
3
- login_ticket_already_used: "你所提供的登入憑証已經被使用過了,請重新登入"
4
- login_timeout: "你的認證花了太多時間,請再試一次"
5
- invalid_login_ticket: "你所傳送的登入憑証是無效的,這可能是認證系統的問題"
6
- login_ticket_needs_post_request: "你必須使用 POST 來產生登入憑証"
7
- incorrect_username_or_password: "你所輸入的帳號或是密碼是錯誤的"
8
- invalid_submit_to_uri: "無法判斷 CAS 的登入網址。請提供 submitToURI 的參數"
9
- invalid_target_service: "你的瀏覽器傳送的服務網址是無效的,請向你的系統管理員尋求協助"
10
- unable_to_authenticate: "現在無法認證,請稍候再嘗試登入"
11
- no_service_parameter_given: "無法完成 gateway request 因為沒有提供 service 的參數"
12
-
13
- notice:
14
- logged_in_as: "你正以 '%1' 的身分登入。如果這不是你,請重新登入"
15
- click_to_continue: "請點以下的連結繼續"
16
- success_logged_out: "你成功登出了"
17
- success_logged_in: "你成功登入了"
18
- please_wait: "請稍候..."
19
-
20
- label:
21
- username: "帳號"
22
- password: "密碼"
23
- central_login_title: "整合登入"
24
-
25
- button:
26
- login: "登入"
Binary file
Binary file
Binary file
Binary file
@@ -1,28 +0,0 @@
1
- body {
2
- background-image: url(bg.png);
3
- }
4
-
5
- #headline-container {
6
- margin-bottom: 5px;
7
- }
8
-
9
- #login-box {
10
- margin: 0 auto;
11
- width: 450px;
12
- top: 110px;
13
- position: relative;
14
- }
15
-
16
- #login-form {
17
- background-color: #fff;
18
- border: 1px #aaa solid;
19
- }
20
-
21
- #logo-container {
22
- vertical-align: middle;
23
- }
24
-
25
- #logo {
26
- width: 128px;
27
- height: 128px;
28
- }
Binary file
Binary file
@@ -1,33 +0,0 @@
1
- body {
2
- background-image: url(bg.png);
3
- }
4
-
5
- label {
6
- color: #5c6156;
7
- }
8
-
9
- #login-form {
10
- background-repeat: no-repeat;
11
- background-image: url(login_box_bg.png);
12
- height: 175px;
13
- width: 210px;
14
- padding: 20px;
15
- }
16
-
17
- #logo-container {
18
- vertical-align: top;
19
- }
20
-
21
- #logo {
22
- width: 115px;
23
- height: 171px;
24
- }
25
-
26
- #infoline {
27
- color: #5c6156;
28
- font-size: 8px;
29
- }
30
-
31
- #headline-container {
32
- margin-right: 15px;
33
- }