bmedia-casserver 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +325 -0
- data/Gemfile +3 -0
- data/LICENSE +26 -0
- data/README.md +19 -0
- data/Rakefile +2 -0
- data/bin/rubycas-server +30 -0
- data/config/config.example.yml +592 -0
- data/config/unicorn.rb +88 -0
- data/config.ru +17 -0
- data/db/migrate/001_create_initial_structure.rb +47 -0
- data/lib/casserver/authenticators/active_directory_ldap.rb +19 -0
- data/lib/casserver/authenticators/active_resource.rb +127 -0
- data/lib/casserver/authenticators/authlogic_crypto_providers/aes256.rb +43 -0
- data/lib/casserver/authenticators/authlogic_crypto_providers/bcrypt.rb +92 -0
- data/lib/casserver/authenticators/authlogic_crypto_providers/md5.rb +34 -0
- data/lib/casserver/authenticators/authlogic_crypto_providers/sha1.rb +59 -0
- data/lib/casserver/authenticators/authlogic_crypto_providers/sha512.rb +50 -0
- data/lib/casserver/authenticators/base.rb +67 -0
- data/lib/casserver/authenticators/client_certificate.rb +47 -0
- data/lib/casserver/authenticators/google.rb +58 -0
- data/lib/casserver/authenticators/ldap.rb +147 -0
- data/lib/casserver/authenticators/ntlm.rb +88 -0
- data/lib/casserver/authenticators/open_id.rb +22 -0
- data/lib/casserver/authenticators/sql.rb +133 -0
- data/lib/casserver/authenticators/sql_authlogic.rb +93 -0
- data/lib/casserver/authenticators/sql_encrypted.rb +75 -0
- data/lib/casserver/authenticators/sql_md5.rb +19 -0
- data/lib/casserver/authenticators/sql_rest_auth.rb +82 -0
- data/lib/casserver/authenticators/test.rb +22 -0
- data/lib/casserver/cas.rb +323 -0
- data/lib/casserver/localization.rb +13 -0
- data/lib/casserver/model.rb +270 -0
- data/lib/casserver/server.rb +758 -0
- data/lib/casserver/utils.rb +32 -0
- data/lib/casserver/views/_login_form.erb +42 -0
- data/lib/casserver/views/layout.erb +18 -0
- data/lib/casserver/views/login.erb +30 -0
- data/lib/casserver/views/proxy.builder +12 -0
- data/lib/casserver/views/proxy_validate.builder +25 -0
- data/lib/casserver/views/service_validate.builder +18 -0
- data/lib/casserver/views/validate.erb +2 -0
- data/lib/casserver.rb +11 -0
- data/locales/de.yml +27 -0
- data/locales/en.yml +26 -0
- data/locales/es.yml +26 -0
- data/locales/es_ar.yml +26 -0
- data/locales/fr.yml +26 -0
- data/locales/jp.yml +26 -0
- data/locales/pl.yml +26 -0
- data/locales/pt.yml +26 -0
- data/locales/ru.yml +26 -0
- data/locales/zh.yml +26 -0
- data/locales/zh_tw.yml +26 -0
- data/public/themes/cas.css +126 -0
- data/public/themes/notice.png +0 -0
- data/public/themes/ok.png +0 -0
- data/public/themes/simple/bg.png +0 -0
- data/public/themes/simple/favicon.png +0 -0
- data/public/themes/simple/login_box_bg.png +0 -0
- data/public/themes/simple/logo.png +0 -0
- data/public/themes/simple/theme.css +28 -0
- data/public/themes/urbacon/bg.png +0 -0
- data/public/themes/urbacon/login_box_bg.png +0 -0
- data/public/themes/urbacon/logo.png +0 -0
- data/public/themes/urbacon/theme.css +33 -0
- data/public/themes/warning.png +0 -0
- data/resources/init.d.sh +58 -0
- data/setup.rb +1585 -0
- data/spec/alt_config.yml +50 -0
- data/spec/authenticators/active_resource_spec.rb +109 -0
- data/spec/authenticators/ldap_spec.rb +53 -0
- data/spec/casserver_spec.rb +156 -0
- data/spec/default_config.yml +50 -0
- data/spec/model_spec.rb +42 -0
- data/spec/spec.opts +4 -0
- data/spec/spec_helper.rb +89 -0
- data/spec/utils_spec.rb +53 -0
- data/tasks/bundler.rake +4 -0
- data/tasks/db/migrate.rake +12 -0
- data/tasks/spec.rake +10 -0
- metadata +308 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'crypt-isaac'
|
2
|
+
|
3
|
+
# Misc utility function used throughout by the RubyCAS-Server.
|
4
|
+
module CASServer
|
5
|
+
module Utils
|
6
|
+
def random_string(max_length = 29)
|
7
|
+
rg = Crypt::ISAAC.new
|
8
|
+
max = 4294619050
|
9
|
+
r = "#{Time.now.to_i}r%X%X%X%X%X%X%X%X" %
|
10
|
+
[rg.rand(max), rg.rand(max), rg.rand(max), rg.rand(max),
|
11
|
+
rg.rand(max), rg.rand(max), rg.rand(max), rg.rand(max)]
|
12
|
+
r[0..max_length-1]
|
13
|
+
end
|
14
|
+
module_function :random_string
|
15
|
+
|
16
|
+
def log_controller_action(controller, params)
|
17
|
+
$LOG << "\n"
|
18
|
+
|
19
|
+
/`(.*)'/.match(caller[1])
|
20
|
+
method = $~[1]
|
21
|
+
|
22
|
+
if params.respond_to? :dup
|
23
|
+
params2 = params.dup
|
24
|
+
params2['password'] = '******' if params2['password']
|
25
|
+
else
|
26
|
+
params2 = params
|
27
|
+
end
|
28
|
+
$LOG.debug("Processing #{controller}::#{method} #{params2.inspect}")
|
29
|
+
end
|
30
|
+
module_function :log_controller_action
|
31
|
+
end
|
32
|
+
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,12 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
if @success
|
3
|
+
xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
|
4
|
+
xml.tag!("cas:proxySuccess") do
|
5
|
+
xml.tag!("cas:proxyTicket", @pt.to_s)
|
6
|
+
end
|
7
|
+
end
|
8
|
+
else
|
9
|
+
xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
|
10
|
+
xml.tag!("cas:proxyFailure", {:code => @error.code}, @error.to_s)
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
if @success
|
3
|
+
xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
|
4
|
+
xml.tag!("cas:authenticationSuccess") do
|
5
|
+
xml.tag!("cas:user", @username.to_s)
|
6
|
+
@extra_attributes.each do |key, value|
|
7
|
+
serialize_extra_attribute(xml, key, value)
|
8
|
+
end
|
9
|
+
if @pgtiou
|
10
|
+
xml.tag!("cas:proxyGrantingTicket", @pgtiou.to_s)
|
11
|
+
end
|
12
|
+
if @proxies && !@proxies.empty?
|
13
|
+
xml.tag!("cas:proxies") do
|
14
|
+
@proxies.each do |proxy_url|
|
15
|
+
xml.tag!("cas:proxy", proxy_url.to_s)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
else
|
22
|
+
xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
|
23
|
+
xml.tag!("cas:authenticationFailure", {:code => @error.code}, @error.to_s)
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
if @success
|
3
|
+
xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
|
4
|
+
xml.tag!("cas:authenticationSuccess") do
|
5
|
+
xml.tag!("cas:user", @username.to_s)
|
6
|
+
@extra_attributes.each do |key, value|
|
7
|
+
serialize_extra_attribute(xml, key, value)
|
8
|
+
end
|
9
|
+
if @pgtiou
|
10
|
+
xml.tag!("cas:proxyGrantingTicket", @pgtiou.to_s)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
else
|
15
|
+
xml.tag!("cas:serviceResponse", 'xmlns:cas' => "http://www.yale.edu/tp/cas") do
|
16
|
+
xml.tag!("cas:authenticationFailure", {:code => @error.code}, @error.to_s)
|
17
|
+
end
|
18
|
+
end
|
data/lib/casserver.rb
ADDED
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/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: "登入"
|
@@ -0,0 +1,126 @@
|
|
1
|
+
* {
|
2
|
+
font-family: Verdana, sans-serif;
|
3
|
+
}
|
4
|
+
|
5
|
+
body {
|
6
|
+
text-align: center; /* hack for IE */
|
7
|
+
}
|
8
|
+
|
9
|
+
label {
|
10
|
+
font-weight: bold;
|
11
|
+
font-size: 9px;
|
12
|
+
}
|
13
|
+
|
14
|
+
input {
|
15
|
+
font-weight: normal;
|
16
|
+
font-size: 12px;
|
17
|
+
}
|
18
|
+
|
19
|
+
input.button {
|
20
|
+
/*font-weight: bold;*/
|
21
|
+
font-size: 10px;
|
22
|
+
}
|
23
|
+
|
24
|
+
#login-box {
|
25
|
+
margin: 0 auto;
|
26
|
+
width: 350px;
|
27
|
+
top: 130px;
|
28
|
+
position: relative;
|
29
|
+
}
|
30
|
+
|
31
|
+
#headline-container {
|
32
|
+
text-align: right;
|
33
|
+
border-bottom: 1px solid #899989;
|
34
|
+
font-family: Tahoma, Verdana, sans-serif;
|
35
|
+
font-size: 22px;
|
36
|
+
margin-right: 0px;
|
37
|
+
padding-right: 7px;
|
38
|
+
margin-left: 10px;
|
39
|
+
letter-spacing: -0.25px;
|
40
|
+
}
|
41
|
+
|
42
|
+
#logo-container {
|
43
|
+
vertical-align: top;
|
44
|
+
}
|
45
|
+
|
46
|
+
#logo {
|
47
|
+
}
|
48
|
+
|
49
|
+
#login-form-container {
|
50
|
+
vertical-align: top;
|
51
|
+
}
|
52
|
+
|
53
|
+
#username,
|
54
|
+
#password {
|
55
|
+
width: 10em;
|
56
|
+
}
|
57
|
+
|
58
|
+
#login-form {
|
59
|
+
padding: 20px;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
#form-layout {
|
64
|
+
position: relative;
|
65
|
+
top: 6px;
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
|
69
|
+
#form-layout td {
|
70
|
+
text-align: center;
|
71
|
+
padding-bottom: 8px;
|
72
|
+
}
|
73
|
+
|
74
|
+
#form-layout td#submit-container {
|
75
|
+
text-align: right;
|
76
|
+
padding-right: 10px;
|
77
|
+
}
|
78
|
+
|
79
|
+
#form-layout #username-label-container,
|
80
|
+
#form-layout #password-label-container {
|
81
|
+
text-align: right;
|
82
|
+
}
|
83
|
+
|
84
|
+
|
85
|
+
#infoline {
|
86
|
+
font-size: 9px;
|
87
|
+
}
|
88
|
+
|
89
|
+
#messagebox-container {
|
90
|
+
padding-left: 11px;
|
91
|
+
padding-right: 16px;
|
92
|
+
}
|
93
|
+
|
94
|
+
div.messagebox {
|
95
|
+
font-size: 12px;
|
96
|
+
padding: 5px;
|
97
|
+
padding-left: 55px;
|
98
|
+
text-align: center;
|
99
|
+
width: 70%;
|
100
|
+
min-height: 34px;
|
101
|
+
vertical-align: middle;
|
102
|
+
}
|
103
|
+
|
104
|
+
div.mistake {
|
105
|
+
color: #d00;
|
106
|
+
background-image: url(warning.png);
|
107
|
+
background-repeat: no-repeat;
|
108
|
+
background-position: 10px 5px;
|
109
|
+
font-weight: bold;
|
110
|
+
}
|
111
|
+
|
112
|
+
div.confirmation {
|
113
|
+
color: #280;
|
114
|
+
background-image: url(ok.png);
|
115
|
+
background-repeat: no-repeat;
|
116
|
+
background-position: 10px 5px;
|
117
|
+
font-weight: bold;
|
118
|
+
}
|
119
|
+
|
120
|
+
div.notice {
|
121
|
+
color: #04c;
|
122
|
+
background-image: url(notice.png);
|
123
|
+
background-repeat: no-repeat;
|
124
|
+
background-position: 10px 5px;
|
125
|
+
font-weight: bold;
|
126
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|