Commit 438289b4 authored by Yadd's avatar Yadd
Browse files

OIDC written (not tested) (#595)

parent ef8f8e59
......@@ -217,7 +217,7 @@ sub run {
);
$self->info( $req,
"<p><a href=\"$logout_url\">$logout_url</a></p>" );
$self->{activeTimer} = 0;
$req->datas->{activeTimer} = 0;
return PE_CONFIRM;
}
......
......@@ -1028,7 +1028,7 @@ sub returnRedirectError {
$urldc .= "&state=" . uri_escape($state) if defined $state;
$self->lmLog( "Redirect user to $urldc", 'debug' );
$self->{'urldc'} = $urldc;
$req->urldc($urldc);
$req->steps( [] );
return PE_OK;
......
......@@ -69,7 +69,7 @@ sub display {
MSG => $info,
URL => $req->{urldc},
HIDDEN_INPUTS => $self->buildHiddenForm(),
ACTIVE_TIMER => $self->conf->{activeTimer},
ACTIVE_TIMER => $req->datas->{activeTimer},
FORM_METHOD => $self->conf->{infoFormMethod},
);
}
......@@ -127,7 +127,7 @@ sub display {
AUTH_URL => $req->{datas}->{_url},
MSG => $req->info,
HIDDEN_INPUTS => $self->buildHiddenForm($req),
ACTIVE_TIMER => $self->conf->{activeTimer},
ACTIVE_TIMER => $req->datas->{activeTimer},
FORM_METHOD => $self->conf->{confirmFormMethod},
CHOICE_PARAM => $self->conf->{authChoiceParam},
CHOICE_VALUE => $req->datas->{_authChoice},
......@@ -149,7 +149,7 @@ sub display {
MSG => $info,
URL => $req->{urldc},
HIDDEN_INPUTS => $self->buildHiddenForm($req),
ACTIVE_TIMER => $self->conf->{activeTimer},
ACTIVE_TIMER => $req->datas->{activeTimer},
FORM_METHOD => $self->conf->{infoFormMethod},
CHOICE_PARAM => $self->conf->{authChoiceParam},
CHOICE_VALUE => $req->datas->{_authChoice},
......@@ -328,7 +328,6 @@ sub display {
$self->lmLog( "Skin returned: $skinfile", 'debug' );
return ( $skinfile, \%templateParams );
}
##@method public void printImage(string file, string type)
......
......@@ -98,18 +98,11 @@
"PM20":"Do you agree to provide the following parameters?",
"PM22":"Your last logins",
"PM23":"Your last failed logins",
"PM24":"The application %s would like to know:",
"PM25":"Your identity",
"PM26":"Your profile",
"PM27":"Your email",
"PM28":"Your address",
"PM29":"Your phone number",
"PM30":"Another information:",
"PM31":"Do you want to logout?",
"accept":"Accept",
"accessDenied":"You have no access authorization for this application",
"accountCreated":"Your account has been created, your temporary password has been sent to your mail address.",
"accountCreationSuccess":"Your account was successfully created.",
"anotherInformation":"Another information:",
"areYouSure":"Are you sure?",
"authPortal":"Authentication portal",
"autoAccept":"Automatically accept in 5 seconds",
......@@ -155,6 +148,7 @@
"loginHistory":"Login history",
"login":"Login",
"logout":"Logout",
"logoutConfirm":"Do you want to logout?",
"logoutFromOtherApp":"Logout from other applications...",
"mail":"Mail",
"mailSent2":"A message has been sent to your mail address.",
......@@ -163,6 +157,7 @@
"newPassword":"New password",
"newPwdIs":"Your new password is",
"newPwdSentTo":"A confirmation has been sent to your mail address.",
"oidcConsent":"The application %s would like to know:",
"openIdExample":"for example:http://myopenid.org/toto",
"openSessionSpace":"This space allow you to open a SSO session. This will help you to securely access to all applications authorized by your profil.",
"openSSOSession":"Open your SSO session",
......@@ -196,7 +191,12 @@
"warning":"Warning",
"welcomeOnPortal":"Welcome on your secured authentication portal.",
"yesResendMail":"Yes, resend the mail",
"yourAddress":"Your address",
"yourApps":"Your applications",
"yourEmail":"Your email",
"yourIdentity":"Your identity",
"yourIdentityIs":"Your identity is",
"yourLoginIs":"Your login is"
"yourPhone":"Your phone number",
"yourProfile":"Your profile",
}
......@@ -98,18 +98,11 @@
"PM20":"Consentez-vous à communiquer les paramètres suivants&nbsp;?",
"PM22":"Vos dernières connexions",
"PM23":"Vos dernières connexions refusées",
"PM24":"L'application %s voudrait connaître :",
"PM25":"Votre identité",
"PM26":"Vos informations personnelles",
"PM27":"Votre adresse électronique",
"PM28":"Votre adresse",
"PM29":"Votre numéro de téléphone",
"PM30":"Une autre information :",
"PM31":"Souhaitez-vous vous déconnecter&nbsp;?",
"accept":"Accepter",
"accessDenied":"Vous n'avez pas les droits d'accès à cette application",
"accountCreated":"Votre compte a été créé, un mot de passe temporaire a été envoyé à votre adresse mail.",
"accountCreationSuccess":"Votre compte a bien été créé.",
"anotherInformation":"Une autre information :",
"areYouSure":"Êtes vous sûr ?",
"authPortal":"Portail d'authentification",
"autoAccept":"Acceptation automatique dans 5 secondes",
......@@ -155,6 +148,7 @@
"loginHistory":"Historique des connexions",
"login":"Identifiant",
"logout":"Déconnexion",
"logoutConfirm":"Souhaitez-vous vous déconnecter&nbsp;?",
"logoutFromOtherApp":"Déconnexion des autres applications...",
"mail":"Adresse mail",
"mailSent2":"Un message a été envoyé à votre adresse mail.",
......@@ -163,6 +157,7 @@
"newPassword":"Nouveau mot de passe",
"newPwdIs":"Votre nouveau mot de passe est",
"newPwdSentTo":"Une confirmation a été envoyée à votre adresse mail.",
"oidcConsent":"L'application %s voudrait connaître :",
"openIdExample":"par exemple :http://myopenid.org/toto",
"openSessionSpace":"Cet espace vous permet d'ouvrir une session SSO. Celle-ci vous aidera à accéder de manière totalement sécurisée à l'ensemble des applications autorisées par votre profil utilisateur.",
"openSSOSession":"Ouvrir une session SSO",
......@@ -196,7 +191,12 @@
"warning":"Attention",
"welcomeOnPortal":"Bienvenue sur votre portail d'authentification sécurisée.",
"yesResendMail":"Oui, renvoyer le mail",
"yourAddress":"Votre adresse",
"yourApps":"Vos applications",
"yourEmail":"Votre adresse électronique",
"yourIdentity":"Votre identité",
"yourIdentityIs":"Votre identité est&nbsp;",
"yourLoginIs":"Votre identifiant est"
"yourPhone":"Votre numéro de téléphone",
"yourProfile":"Vos informations personnelles",
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment