synapse-rubycas-server 1.1.3alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +15 -0
  2. data/CHANGELOG +353 -0
  3. data/Gemfile +12 -0
  4. data/LICENSE +26 -0
  5. data/README.md +38 -0
  6. data/Rakefile +3 -0
  7. data/bin/rubycas-server +30 -0
  8. data/config/config.example.yml +552 -0
  9. data/config/unicorn.rb +88 -0
  10. data/config.ru +11 -0
  11. data/db/migrate/001_create_initial_structure.rb +47 -0
  12. data/db/migrate/002_add_indexes_for_performance.rb +15 -0
  13. data/lib/casserver/authenticators/active_directory_ldap.rb +17 -0
  14. data/lib/casserver/authenticators/active_resource.rb +113 -0
  15. data/lib/casserver/authenticators/authlogic_crypto_providers/aes256.rb +43 -0
  16. data/lib/casserver/authenticators/authlogic_crypto_providers/bcrypt.rb +92 -0
  17. data/lib/casserver/authenticators/authlogic_crypto_providers/md5.rb +34 -0
  18. data/lib/casserver/authenticators/authlogic_crypto_providers/sha1.rb +59 -0
  19. data/lib/casserver/authenticators/authlogic_crypto_providers/sha512.rb +50 -0
  20. data/lib/casserver/authenticators/base.rb +70 -0
  21. data/lib/casserver/authenticators/client_certificate.rb +47 -0
  22. data/lib/casserver/authenticators/google.rb +62 -0
  23. data/lib/casserver/authenticators/ldap.rb +131 -0
  24. data/lib/casserver/authenticators/ntlm.rb +88 -0
  25. data/lib/casserver/authenticators/open_id.rb +19 -0
  26. data/lib/casserver/authenticators/sql.rb +158 -0
  27. data/lib/casserver/authenticators/sql_authlogic.rb +93 -0
  28. data/lib/casserver/authenticators/sql_bcrypt.rb +17 -0
  29. data/lib/casserver/authenticators/sql_encrypted.rb +75 -0
  30. data/lib/casserver/authenticators/sql_md5.rb +19 -0
  31. data/lib/casserver/authenticators/sql_rest_auth.rb +82 -0
  32. data/lib/casserver/authenticators/test.rb +21 -0
  33. data/lib/casserver/base.rb +13 -0
  34. data/lib/casserver/cas.rb +324 -0
  35. data/lib/casserver/core_ext/directory_user.rb +81 -0
  36. data/lib/casserver/core_ext/securerandom.rb +17 -0
  37. data/lib/casserver/core_ext/string.rb +22 -0
  38. data/lib/casserver/core_ext.rb +12 -0
  39. data/lib/casserver/model/consumable.rb +31 -0
  40. data/lib/casserver/model/ticket.rb +19 -0
  41. data/lib/casserver/model.rb +248 -0
  42. data/lib/casserver/server.rb +796 -0
  43. data/lib/casserver/utils.rb +20 -0
  44. data/lib/casserver/views/_login_form.erb +42 -0
  45. data/lib/casserver/views/layout.erb +18 -0
  46. data/lib/casserver/views/login.erb +30 -0
  47. data/lib/casserver/views/proxy.builder +13 -0
  48. data/lib/casserver/views/proxy_validate.builder +31 -0
  49. data/lib/casserver/views/service_validate.builder +24 -0
  50. data/lib/casserver/views/validate.erb +2 -0
  51. data/lib/casserver.rb +19 -0
  52. data/locales/de.yml +27 -0
  53. data/locales/en.yml +26 -0
  54. data/locales/es.yml +26 -0
  55. data/locales/es_ar.yml +26 -0
  56. data/locales/fr.yml +26 -0
  57. data/locales/it.yml +26 -0
  58. data/locales/jp.yml +26 -0
  59. data/locales/pl.yml +26 -0
  60. data/locales/pt.yml +26 -0
  61. data/locales/ru.yml +26 -0
  62. data/locales/zh.yml +26 -0
  63. data/locales/zh_tw.yml +26 -0
  64. data/public/themes/cas.css +126 -0
  65. data/public/themes/notice.png +0 -0
  66. data/public/themes/ok.png +0 -0
  67. data/public/themes/simple/bg.png +0 -0
  68. data/public/themes/simple/favicon.png +0 -0
  69. data/public/themes/simple/login_box_bg.png +0 -0
  70. data/public/themes/simple/logo.png +0 -0
  71. data/public/themes/simple/theme.css +28 -0
  72. data/public/themes/warning.png +0 -0
  73. data/resources/init.d.sh +58 -0
  74. data/spec/casserver/authenticators/active_resource_spec.rb +116 -0
  75. data/spec/casserver/authenticators/ldap_spec.rb +57 -0
  76. data/spec/casserver/cas_spec.rb +148 -0
  77. data/spec/casserver/model_spec.rb +42 -0
  78. data/spec/casserver/utils_spec.rb +24 -0
  79. data/spec/casserver_spec.rb +221 -0
  80. data/spec/config/alt_config.yml +50 -0
  81. data/spec/config/default_config.yml +56 -0
  82. data/spec/core_ext/string_spec.rb +28 -0
  83. data/spec/spec.opts +4 -0
  84. data/spec/spec_helper.rb +126 -0
  85. data/tasks/bundler.rake +4 -0
  86. data/tasks/db/migrate.rake +12 -0
  87. data/tasks/spec.rake +10 -0
  88. metadata +405 -0
@@ -0,0 +1,20 @@
1
+ # Misc utility function used throughout by the RubyCAS-Server.
2
+ module CASServer
3
+ module Utils
4
+ def log_controller_action(controller, params)
5
+ $LOG << "\n"
6
+
7
+ /`(.*)'/.match(caller[1])
8
+ method = $~[1]
9
+
10
+ if params.respond_to? :dup
11
+ params2 = params.dup
12
+ params2['password'] = '******' if params2['password']
13
+ else
14
+ params2 = params
15
+ end
16
+ $LOG.debug("Processing #{controller}::#{method} #{params2.inspect}")
17
+ end
18
+ module_function :log_controller_action
19
+ end
20
+ end
@@ -0,0 +1,42 @@
1
+ <%# coding: UTF-8 -%>
2
+ <form method="post" action="<%= @form_action || "login" %>" id="login-form"
3
+ onsubmit="submitbutton = document.getElementById('login-submit'); submitbutton.value='<%= t.notice.please_wait %>'; submitbutton.disabled=true; return true;">
4
+ <table id="form-layout">
5
+ <tr>
6
+ <td id="username-label-container">
7
+ <label id="username-label" for="username">
8
+ <%= t.label.username %>
9
+ </label>
10
+ </td>
11
+ <td id="username-container">
12
+ <input type="text" id="username" name="username"
13
+ size="32" tabindex="1" accesskey="u" />
14
+ </td>
15
+ </tr>
16
+ <tr>
17
+ <td id="password-label-container">
18
+ <label id="password-label" for="password">
19
+ <%= t.label.password %>
20
+ </label>
21
+ </td>
22
+ <td id="password-container">
23
+ <input type="password" id="password" name="password"
24
+ size="32" tabindex="2" accesskey="p" autocomplete="off" />
25
+ </td>
26
+ </tr>
27
+ <tr>
28
+ <td />
29
+ <td id="submit-container">
30
+ <input type="hidden" id="lt" name="lt" value="<%= escape_html @lt %>" />
31
+ <input type="hidden" id="service" name="service" value="<%= escape_html @service %>" />
32
+ <input type="submit" class="button" accesskey="l" value="<%= t.button.login %>"
33
+ tabindex="4" id="login-submit" />
34
+ </td>
35
+ </tr>
36
+ <tr>
37
+ <td colspan="2" id="infoline">
38
+ <%= @infoline %>
39
+ </td>
40
+ </tr>
41
+ </table>
42
+ </form>
@@ -0,0 +1,18 @@
1
+ <%# coding: UTF-8 -%>
2
+ <?xml version="1.0" ?>
3
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4
+ "XHTML1-s.dtd" >
5
+ <html xmlns="http://www.w3.org/TR/1999/REC-html-in-xml"
6
+ xml:lang="en" lang="en" >
7
+
8
+ <head>
9
+ <title><%= escape_html @organization %><%= t.label.central_login_title %></title>
10
+ <link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/themes/cas.css" />
11
+ <link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/themes/<%= escape_html @theme %>/theme.css" />
12
+ <link rel="icon" type="image/png" href="<%= escape_html @uri_path %>/themes/<%= escape_html @theme %>/favicon.png" />
13
+ </head>
14
+
15
+ <body onload="if (document.getElementById('username')) document.getElementById('username').focus()">
16
+ <%= yield %>
17
+ </body>
18
+ </html>
@@ -0,0 +1,30 @@
1
+ <%# coding: UTF-8 -%>
2
+ <table id="login-box">
3
+ <tr>
4
+ <td colspan="2">
5
+ <div id="headline-container">
6
+ <strong><%= escape_html @organization %></strong>
7
+ <%= t.label.central_login_title %>
8
+ </div>
9
+ </td>
10
+ </tr>
11
+
12
+ <% if @message %>
13
+ <tr>
14
+ <td colspan="2" id="messagebox-container">
15
+ <div class="messagebox <%= escape_html @message[:type] %>">
16
+ <%= escape_html @message[:message] %>
17
+ </div>
18
+ </td>
19
+ </tr>
20
+ <% end %>
21
+
22
+ <tr>
23
+ <td id="logo-container">
24
+ <img id="logo" src="<%= escape_html @uri_path %>/themes/<%= @theme %>/logo.png" />
25
+ </td>
26
+ <td id="login-form-container">
27
+ <%= erb(:_login_form, :layout => false) %>
28
+ </td>
29
+ </tr>
30
+ </table>
@@ -0,0 +1,13 @@
1
+ # encoding: UTF-8
2
+ xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
3
+ if @success
4
+ xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
5
+ xml.tag!("cas:proxySuccess") do
6
+ xml.tag!("cas:proxyTicket", @pt.to_s)
7
+ end
8
+ end
9
+ else
10
+ xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
11
+ xml.tag!("cas:proxyFailure", {:code => @error.code}, @error.to_s)
12
+ end
13
+ end
@@ -0,0 +1,31 @@
1
+ # encoding: UTF-8
2
+ xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
3
+ if @success
4
+ xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
5
+ xml.tag!("cas:authenticationSuccess") do
6
+ xml.tag!("cas:user", @username.to_s)
7
+ if @extra_attributes
8
+ xml.tag!("cas:attributes") do
9
+ @extra_attributes.each do |key, value|
10
+ namespace_aware_key = key[0..3]=='cas:' ? key : 'cas:' + key
11
+ serialize_extra_attribute(xml, namespace_aware_key, value)
12
+ end
13
+ end
14
+ end
15
+ if @pgtiou
16
+ xml.tag!("cas:proxyGrantingTicket", @pgtiou.to_s)
17
+ end
18
+ if @proxies && !@proxies.empty?
19
+ xml.tag!("cas:proxies") do
20
+ @proxies.each do |proxy_url|
21
+ xml.tag!("cas:proxy", proxy_url.to_s)
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ else
28
+ xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
29
+ xml.tag!("cas:authenticationFailure", {:code => @error.code}, @error.to_s)
30
+ end
31
+ end
@@ -0,0 +1,24 @@
1
+ # encoding: UTF-8
2
+ xml.instruct! :xml, :version=>"1.0", :encoding=>"UTF-8"
3
+ if @success
4
+ xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
5
+ xml.tag!("cas:authenticationSuccess") do
6
+ xml.tag!("cas:user", @username.to_s)
7
+ if @extra_attributes
8
+ xml.tag!("cas:attributes") do
9
+ @extra_attributes.each do |key, value|
10
+ namespace_aware_key = key[0..3]=='cas:' ? key : 'cas:' + key
11
+ serialize_extra_attribute(xml, namespace_aware_key, value)
12
+ end
13
+ end
14
+ end
15
+ if @pgtiou
16
+ xml.tag!("cas:proxyGrantingTicket", @pgtiou.to_s)
17
+ end
18
+ end
19
+ end
20
+ else
21
+ xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
22
+ xml.tag!("cas:authenticationFailure", {:code => @error.code}, @error.to_s)
23
+ end
24
+ end
@@ -0,0 +1,2 @@
1
+ <%# coding: UTF-8 %>
2
+ <%= @success ? "yes\n#{@username}\n" : "no\n\n" %>
data/lib/casserver.rb ADDED
@@ -0,0 +1,19 @@
1
+ module CASServer; end
2
+
3
+ require 'active_record'
4
+ require 'active_support'
5
+ require 'sinatra/base'
6
+ require 'casserver/core_ext/directory_user'
7
+ require 'builder' # for XML views
8
+ require 'logger'
9
+ $LOG = Logger.new(STDOUT)
10
+
11
+ require 'casserver/authenticators/base'
12
+ CASServer::Authenticators.autoload :LDAP, 'casserver/authenticators/ldap.rb'
13
+ CASServer::Authenticators.autoload :ActiveDirectoryLDAP, 'casserver/authenticators/active_directory_ldap.rb'
14
+ CASServer::Authenticators.autoload :SQL, 'casserver/authenticators/sql.rb'
15
+ CASServer::Authenticators.autoload :Google, 'casserver/authenticators/google.rb'
16
+ CASServer::Authenticators.autoload :SQLEncrypted, 'casserver/authenticators/sql_encrypted.rb'
17
+ CASServer::Authenticators.autoload :ActiveResource, 'casserver/authenticators/active_resource.rb'
18
+
19
+ require 'casserver/server'
data/locales/de.yml ADDED
@@ -0,0 +1,27 @@
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/en.yml ADDED
@@ -0,0 +1,26 @@
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: "To generate a login ticket, you must make a POST request."
7
+ incorrect_username_or_password: "Incorrect username or password."
8
+ invalid_submit_to_uri: "Could not guess the CAS login URI. Please supply a submitToURI parameter with your request."
9
+ invalid_target_service: "The target service your browser supplied appears to be invalid. Please contact your system administrator for help."
10
+ unable_to_authenticate: "The client and server are unable to negotiate authentication. Please try logging in again later."
11
+ no_service_parameter_given: "The server cannot fulfill this gateway request because no service parameter was given."
12
+
13
+ notice:
14
+ logged_in_as: "You are currently logged in as '%1'. If this is not you, please log in below."
15
+ click_to_continue: "Please click on the following link to continue:"
16
+ success_logged_out: "You have successfully logged out."
17
+ success_logged_in: "You have successfully logged in."
18
+ please_wait: "Please wait..."
19
+
20
+ label:
21
+ username: "Username"
22
+ password: "Password"
23
+ central_login_title: "Central Login"
24
+
25
+ button:
26
+ login: "LOGIN"
data/locales/es.yml ADDED
@@ -0,0 +1,26 @@
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 ADDED
@@ -0,0 +1,26 @@
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 ADDED
@@ -0,0 +1,26 @@
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/it.yml ADDED
@@ -0,0 +1,26 @@
1
+ error:
2
+ no_login_ticket: "La sua richiesta di accesso non include il login ticket. Potrebbero esserci problemi con il sistema di autenticazione."
3
+ login_ticket_already_used: "Il login ticket fornito é già in uso. Provi a rieseguire l'accesso."
4
+ login_timeout: "Superato il limite di tempo per inserire le credenziali. Per favore riprovi."
5
+ invalid_login_ticket: "Il login ticket che ha provveduto è invalido. Potrebbe esserci problemi con il sistema di autenticazione."
6
+ login_ticket_needs_post_request: "Per generare un login ticket, é necessario eseguire una richiesta post"
7
+ incorrect_username_or_password: "Nome utente o password errata."
8
+ invalid_submit_to_uri: "Non é possibile indovinare l'URI CAS login, Per favore fornisca un parametro submitToURI nella sua richiesta."
9
+ invalid_target_service: "Il servizio di destinazione del browser non risulta valido. Contatti l'amministratore di sistema per assistenza."
10
+ unable_to_authenticate: "il client ed il server non sono in gradi di negoziare l'autenticazione. Provi ad accedere più tardi."
11
+ no_service_parameter_given: " Il server non supporta questa richiesta gateway perché non é stato fornito nessun parametro di servizio"
12
+
13
+ notice:
14
+ logged_in_as: "Accesso effettuato come '%1'. Se l'utente è errato esegua un nuovo accesso."
15
+ click_to_continue: "Per favore apra il seguente link per continuare:"
16
+ success_logged_out: "Disconnessione eseguita con successo."
17
+ success_logged_in: "Accesso eseguito con successo."
18
+ please_wait: "Attendere prego..."
19
+
20
+ label:
21
+ username: "Nome utente"
22
+ password: "Password"
23
+ central_login_title: "Accesso centralizzato"
24
+
25
+ button:
26
+ login: "ACCEDI"
data/locales/jp.yml ADDED
@@ -0,0 +1,26 @@
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 ADDED
@@ -0,0 +1,26 @@
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/pt.yml ADDED
@@ -0,0 +1,26 @@
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: "Para gerar um ticket de acceso, você deve fazer uma requisição via POST."
7
+ incorrect_username_or_password: "Usuário ou Senha está incorreto."
8
+ invalid_submit_to_uri: "Não encontramos a URI de acesso ao CAS. Por favor, informe corretamente no submitToURI com sua solicitação."
9
+ invalid_target_service: "O seu navegador está aparentemente com problemas. Por favor, contate o administrador do sistema para obter ajuda."
10
+ unable_to_authenticate: "O cliente e o servidor não puderam efetuar a autenticação. por favor, tente novamente mais tarde."
11
+ no_service_parameter_given: "O servidor não pode completar a solicitação porque não foi enviado o paramêtro do serviço."
12
+
13
+ notice:
14
+ logged_in_as: "Você está logado como '%1'. Se este não for você, Por favor, faça o login a baixo."
15
+ click_to_continue: "Por favor, clique no seguinte link para continuar:"
16
+ success_logged_out: "Você saiu do sistema com sucesso."
17
+ success_logged_in: "Login efetuado com sucesso."
18
+ please_wait: "Aguarde ..."
19
+
20
+ label:
21
+ username: "Usuário"
22
+ password: "Senha"
23
+ central_login_title: "Central de Autenticação"
24
+
25
+ button:
26
+ login: "ENTRAR"
data/locales/ru.yml ADDED
@@ -0,0 +1,26 @@
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 ADDED
@@ -0,0 +1,26 @@
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 ADDED
@@ -0,0 +1,26 @@
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: "登入"