Line 9... |
Line 9... |
9 |
# The contents of this file may be used under the terms of the GNU
|
9 |
# The contents of this file may be used under the terms of the GNU
|
10 |
# General Public License Version 2, provided that the above copyright
|
10 |
# General Public License Version 2, provided that the above copyright
|
11 |
# notice and this permission notice is included in all copies or
|
11 |
# notice and this permission notice is included in all copies or
|
12 |
# substantial portions of the software.
|
12 |
# substantial portions of the software.
|
13 |
|
13 |
|
14 |
$organisme = "";
|
- |
|
15 |
# Redirects from CoovaChilli (chilli daemon) :
|
14 |
# Redirects from CoovaChilli (chilli daemon) :
|
16 |
# Response to login:
|
15 |
# Response to login:
|
17 |
# success : if login successful
|
16 |
# success : if login successful
|
18 |
# failed : if login failed
|
17 |
# failed : if login failed
|
19 |
# logoff : if logout successful
|
18 |
# logoff : if logout successful
|
20 |
# already : if tried to login while already logged in
|
19 |
# already : if tried to login while already logged in
|
21 |
# notyet : if not logged in yet
|
20 |
# notyet : if not logged in yet
|
22 |
# Default : it was not a form request -> client go to login form
|
21 |
# Default : it was not a form request -> client go to login form
|
23 |
|
22 |
|
- |
|
23 |
/****************************************************************
|
- |
|
24 |
* GLOBAL FILE PATHS *
|
- |
|
25 |
*****************************************************************/
|
- |
|
26 |
define ("CONF_FILE", "/usr/local/etc/alcasar.conf");
|
- |
|
27 |
|
- |
|
28 |
/****************************************************************
|
- |
|
29 |
* FILE TEST *
|
- |
|
30 |
*****************************************************************/
|
- |
|
31 |
//Test de présence et des droits en lecture des fichiers de configuration.
|
- |
|
32 |
if (!file_exists(CONF_FILE)){
|
- |
|
33 |
exit("Fichier de configuration ".CONF_FILE." non présent");
|
- |
|
34 |
}
|
- |
|
35 |
if (!is_readable(CONF_FILE)){
|
- |
|
36 |
exit("Vous n'avez pas les droits de lecture sur le fichier ".CONF_FILE);
|
- |
|
37 |
}
|
- |
|
38 |
|
- |
|
39 |
/****************************************************************
|
- |
|
40 |
* Read CONF_FILE *
|
- |
|
41 |
*****************************************************************/
|
- |
|
42 |
$ouvre=fopen(CONF_FILE,"r");
|
- |
|
43 |
if ($ouvre){
|
- |
|
44 |
while (!feof ($ouvre))
|
- |
|
45 |
{
|
- |
|
46 |
$tampon = fgets($ouvre, 4096);
|
- |
|
47 |
if (strpos($tampon,"=")!==false){
|
- |
|
48 |
$tmp = explode("=",$tampon);
|
- |
|
49 |
$conf[$tmp[0]] = $tmp[1];
|
- |
|
50 |
}
|
- |
|
51 |
}
|
- |
|
52 |
}else{
|
- |
|
53 |
exit("Erreur d'ouverture du fichier ".ALCASAR_ETH1);
|
- |
|
54 |
}
|
- |
|
55 |
fclose($ouvre);
|
- |
|
56 |
|
- |
|
57 |
$organisme = $conf["ORGANISM"];
|
- |
|
58 |
|
24 |
# Shared secret used to encrypt challenge with radius.
|
59 |
# Shared secret used to encrypt challenge with radius.
|
25 |
$uamsecret = "";
|
60 |
$uamsecret = "";
|
26 |
|
61 |
|
27 |
# URL loaded after success authenticates (let blank for browser defaults)
|
62 |
# URL loaded after success authenticates (let blank for browser defaults)
|
28 |
$adminurl = "";
|
63 |
$adminurl = "";
|
Line 49... |
Line 84... |
49 |
$l_user = "Usuario";
|
84 |
$l_user = "Usuario";
|
50 |
$l_password = "Contraseña";
|
85 |
$l_password = "Contraseña";
|
51 |
$l_wait = "Por favor, espere un momento ...";
|
86 |
$l_wait = "Por favor, espere un momento ...";
|
52 |
$l_onlinetime = "Tiempo de conexión:";
|
87 |
$l_onlinetime = "Tiempo de conexión:";
|
53 |
$l_remainingtime = "Desconexión en:";
|
88 |
$l_remainingtime = "Desconexión en:";
|
54 |
$l_encrypted = "La apertura debe usar conexión cifrada (https)";
|
89 |
$l_encrypted = "La apertura debe usar conexión cifrada";
|
55 |
$l_boutonO = "Autenticación";
|
90 |
$l_boutonO = "Autenticación";
|
56 |
$l_boutonF = "Cerrar";
|
91 |
$l_boutonF = "Cerrar";
|
57 |
$l_loggedin_stringl1 = "Information System Security";
|
92 |
$l_loggedin_stringl1 = "Information System Security";
|
58 |
$l_loggedin_stringl2 = "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
|
93 |
$l_loggedin_stringl2 = "El portal fue creado reglamentos para garantizar la trazabilidad, la rendición de cuentas y el no repudio de las conexiones.";
|
59 |
$l_loggedin_stringl3 = "Su actividad en la red es registrada, de conformidad con la privacidad.";
|
94 |
$l_loggedin_stringl3 = "Su actividad en la red es registrada, de conformidad con la privacidad.";
|
Line 80... |
Line 115... |
80 |
$l_user = "Benutzer";
|
115 |
$l_user = "Benutzer";
|
81 |
$l_password = "Passwort";
|
116 |
$l_password = "Passwort";
|
82 |
$l_wait = "Bitte warten Sie einen Moment ...";
|
117 |
$l_wait = "Bitte warten Sie einen Moment ...";
|
83 |
$l_onlinetime = "Online-Zeit:";
|
118 |
$l_onlinetime = "Online-Zeit:";
|
84 |
$l_remainingtime = "Abmelden:";
|
119 |
$l_remainingtime = "Abmelden:";
|
85 |
$l_encrypted = "Die Öffnung muß der Anschluß Zahlen (https)";
|
120 |
$l_encrypted = "Die Öffnung muß der Anschluß Zahlen";
|
86 |
$l_boutonO = "Authentifizierung";
|
121 |
$l_boutonO = "Authentifizierung";
|
87 |
$l_boutonF = "Schließen";
|
122 |
$l_boutonF = "Schließen";
|
88 |
$l_loggedin_stringl1 = "Information System Security";
|
123 |
$l_loggedin_stringl1 = "Information System Security";
|
89 |
$l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
|
124 |
$l_loggedin_stringl2 = "Dieses Portal wurde eingerichtet, um ordnungsgemäß die Rückverfolgbarkeit, der Zurechenbarkeit und der Nicht-Anerkennung der Verbindungen.";
|
90 |
$l_loggedin_stringl3 = "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
|
125 |
$l_loggedin_stringl3 = "Ihre Tätigkeit im Netzwerk registriert ist nach Schutz der Privatsphäre.";
|
Line 111... |
Line 146... |
111 |
$l_user = "Gebruiker";
|
146 |
$l_user = "Gebruiker";
|
112 |
$l_password = "Wachtwoord";
|
147 |
$l_password = "Wachtwoord";
|
113 |
$l_wait = "Wacht een moment ...";
|
148 |
$l_wait = "Wacht een moment ...";
|
114 |
$l_onlinetime = "Sluit tijd:";
|
149 |
$l_onlinetime = "Sluit tijd:";
|
115 |
$l_remainingtime = "Verbreking in:";
|
150 |
$l_remainingtime = "Verbreking in:";
|
116 |
$l_encrypted = "De opening moet gebruiken gecodeerde verbinding (https)";
|
151 |
$l_encrypted = "De opening moet gebruiken gecodeerde verbinding";
|
117 |
$l_boutonO = "Authenticatie";
|
152 |
$l_boutonO = "Authenticatie";
|
118 |
$l_boutonF = "Sluiten";
|
153 |
$l_boutonF = "Sluiten";
|
119 |
$l_loggedin_stringl1 = "Information System Security";
|
154 |
$l_loggedin_stringl1 = "Information System Security";
|
120 |
$l_loggedin_stringl2 = "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
|
155 |
$l_loggedin_stringl2 = "Het portaal werd opgericht verordeningen om de traceerbaarheid, verantwoordelijkheid en onloochenbaarheid van de verbindingen.";
|
121 |
$l_loggedin_stringl3 = "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
|
156 |
$l_loggedin_stringl3 = "Uw activiteit op het netwerk is geregistreerd in overeenstemming met de persoonlijke levenssfeer.";
|
Line 142... |
Line 177... |
142 |
$l_user = "Identifiant";
|
177 |
$l_user = "Identifiant";
|
143 |
$l_password = "Mot de passe";
|
178 |
$l_password = "Mot de passe";
|
144 |
$l_wait = "Patientez un instant ...";
|
179 |
$l_wait = "Patientez un instant ...";
|
145 |
$l_onlinetime = "Temps de connexion:";
|
180 |
$l_onlinetime = "Temps de connexion:";
|
146 |
$l_remainingtime = "Deconnexion dans :";
|
181 |
$l_remainingtime = "Deconnexion dans :";
|
147 |
$l_encrypted = "La connexion avec le portail doit être chiffrée (https)";
|
182 |
$l_encrypted = "La connexion avec le portail doit être chiffrée";
|
148 |
$l_boutonO = "Authentification";
|
183 |
$l_boutonO = "Authentification";
|
149 |
$l_boutonF = "Fermer";
|
184 |
$l_boutonF = "Fermer";
|
150 |
$l_loggedin_stringl1 = "Sécurité des Systèmes d'Information";
|
185 |
$l_loggedin_stringl1 = "Sécurité des Systèmes d'Information";
|
151 |
$l_loggedin_stringl2 = "Ce contrôle a été mis en place pour assurer réglementairement la traçabilité, l'imputabilité et la non-répudiation des connexions.";
|
186 |
$l_loggedin_stringl2 = "Ce contrôle a été mis en place pour assurer réglementairement la traçabilité, l'imputabilité et la non-répudiation des connexions.";
|
152 |
$l_loggedin_stringl3 = "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
|
187 |
$l_loggedin_stringl3 = "Votre activité sur le réseau est enregistrée conformément au respect de la vie privée.";
|
Line 173... |
Line 208... |
173 |
$l_user = "User";
|
208 |
$l_user = "User";
|
174 |
$l_password = "Password";
|
209 |
$l_password = "Password";
|
175 |
$l_wait = "Please wait a moment ...";
|
210 |
$l_wait = "Please wait a moment ...";
|
176 |
$l_onlinetime = "Connect time:";
|
211 |
$l_onlinetime = "Connect time:";
|
177 |
$l_remainingtime = "Disconnection in:";
|
212 |
$l_remainingtime = "Disconnection in:";
|
178 |
$l_encrypted = "The connection with the portal must encrypted (https)";
|
213 |
$l_encrypted = "The connection with the portal must be encrypted";
|
179 |
$l_boutonO = "Authentication";
|
214 |
$l_boutonO = "Authentication";
|
180 |
$l_boutonF = "Close";
|
215 |
$l_boutonF = "Close";
|
181 |
$l_loggedin_stringl1 = "Information System Security";
|
216 |
$l_loggedin_stringl1 = "Information System Security";
|
182 |
$l_loggedin_stringl2 = "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
|
217 |
$l_loggedin_stringl2 = "That control was set up regulations to ensure traceability, accountability and non-repudiation of connections.";
|
183 |
$l_loggedin_stringl3 = "Your activity on the network is registered in accordance with privacy.";
|
218 |
$l_loggedin_stringl3 = "Your activity on the network is registered in accordance with privacy.";
|