Append parameter & update langs (#1925)
This commit is contained in:
parent
c1af9e49f7
commit
86daaf54f6
|
@ -36,7 +36,7 @@ our $authParameters = {
|
|||
adParams => [qw(ADPwdMaxAge ADPwdExpireWarning)],
|
||||
apacheParams => [qw(apacheAuthnLevel)],
|
||||
casParams => [qw(casAuthnLevel)],
|
||||
choiceParams => [qw(authChoiceParam authChoiceModules)],
|
||||
choiceParams => [qw(authChoiceParam authChoiceModules authChoiceAuthBasic)],
|
||||
combinationParams => [qw(combination combModules)],
|
||||
customParams => [qw(customAuth customUserDB customPassword customRegister customAddParams)],
|
||||
dbiParams => [qw(dbiAuthnLevel dbiExportedVars dbiAuthChain dbiAuthUser dbiAuthPassword dbiUserChain dbiUserUser dbiUserPassword dbiAuthTable dbiUserTable dbiAuthLoginCol dbiAuthPasswordCol dbiPasswordMailCol userPivot dbiAuthPasswordHash dbiDynamicHashEnabled dbiDynamicHashValidSchemes dbiDynamicHashValidSaltedSchemes dbiDynamicHashNewPasswordScheme)],
|
||||
|
|
|
@ -11,7 +11,7 @@ use Lemonldap::NG::Common::UserAgent;
|
|||
use Lemonldap::NG::Common::FormEncode;
|
||||
use Lemonldap::NG::Common::Session;
|
||||
|
||||
our $VERSION = '2.0.0';
|
||||
our $VERSION = '2.0.6';
|
||||
our @ISA = ('Exporter');
|
||||
our @EXPORT = qw(fetchId retrieveSession createSession hideCookie goToPortal);
|
||||
our @EXPORT_OK = @EXPORT;
|
||||
|
@ -94,8 +94,13 @@ sub createSession {
|
|||
build_urlencoded(
|
||||
user => $user,
|
||||
password => $pwd,
|
||||
lmAuth => '', # TODO
|
||||
secret => $class->tsv->{cipher}->encrypt(time)
|
||||
secret => $class->tsv->{cipher}->encrypt(time),
|
||||
(
|
||||
$class->tsv->{authChoiceAuthBasic}
|
||||
? ( $class->tsv->{authChoiceParam} =>
|
||||
$class->tsv->{authChoiceAuthBasic} )
|
||||
: ()
|
||||
)
|
||||
)
|
||||
);
|
||||
my $resp = $class->ua->request($get);
|
||||
|
|
|
@ -198,6 +198,7 @@ sub defaultValuesInit {
|
|||
timeoutActivityInterval useRedirectOnError useRedirectOnForbidden
|
||||
useSafeJail whatToTrace handlerInternalCache
|
||||
handlerServiceTokenTTL customToTrace lwpOpts lwpSslOpts
|
||||
authChoiceParam authChoiceAuthBasic
|
||||
)
|
||||
);
|
||||
|
||||
|
|
|
@ -278,6 +278,9 @@ sub attributes {
|
|||
'keyTest' => qr/\w/,
|
||||
'type' => 'catAndAppList'
|
||||
},
|
||||
'authChoiceAuthBasic' => {
|
||||
'type' => 'text'
|
||||
},
|
||||
'authChoiceModules' => {
|
||||
'keyMsgFail' => '__badChoiceKey__',
|
||||
'keyTest' => qr/^(\d*)?[a-zA-Z0-9_]+$/,
|
||||
|
|
|
@ -3331,6 +3331,10 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
|
|||
default => 'lmAuth',
|
||||
documentation => 'Applications list',
|
||||
},
|
||||
authChoiceAuthBasic => {
|
||||
type => 'text',
|
||||
documentation => 'Auth module used by AuthBasic handler',
|
||||
},
|
||||
authChoiceModules => {
|
||||
type => 'authChoiceContainer',
|
||||
keyTest => qr/^(\d*)?[a-zA-Z0-9_]+$/,
|
||||
|
|
|
@ -130,7 +130,7 @@ sub tree {
|
|||
{
|
||||
title => 'choiceParams',
|
||||
help => 'authchoice.html',
|
||||
nodes => [ 'authChoiceParam', 'authChoiceModules' ]
|
||||
nodes => [ 'authChoiceParam', 'authChoiceModules', 'authChoiceAuthBasic' ]
|
||||
},
|
||||
{
|
||||
title => 'apacheParams',
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"الترخيص وقاعدة بيانات المستخدم",
|
||||
"authChain":"سلسلة إثبات الهوية",
|
||||
"authChoice":"اختيار إثبات الهوية",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"الوحدات المسموح بها",
|
||||
"authChoiceParam":"معايير URL",
|
||||
"authentication":"وحدة إثبات الهوية",
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"Authz and user DB",
|
||||
"authChain":"Authentication chain",
|
||||
"authChoice":"Authentication choice",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"Allowed modules",
|
||||
"authChoiceParam":"URL parameter",
|
||||
"authentication":"Authentication module",
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"Authz and user DB",
|
||||
"authChain":"Authentication chain",
|
||||
"authChoice":"Authentication choice",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"Allowed modules",
|
||||
"authChoiceParam":"URL parameter",
|
||||
"authentication":"Authentication module",
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"Authent. et BD utilisateurs",
|
||||
"authChain":"Chaîne d'authentification",
|
||||
"authChoice":"Choix d'authentification",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"Modules autorisés",
|
||||
"authChoiceParam":"Paramètre de l'URL",
|
||||
"authentication":"Module d'authentification",
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"Authz e utente DB",
|
||||
"authChain":"Catena di autenticazione",
|
||||
"authChoice":"Scelta di autenticazione",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"Moduli consentiti",
|
||||
"authChoiceParam":"Parametri URL",
|
||||
"authentication":"Modulo di autenticazione",
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"Authz và user DB",
|
||||
"authChain":"Chuỗi xác thực",
|
||||
"authChoice":"Lựa chọn xác thực",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"Các mô-đun được phép",
|
||||
"authChoiceParam":"Tham số URL",
|
||||
"authentication":"Mô đun xác thực",
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
"authAndUserdb":"授权和用户数据库",
|
||||
"authChain":"认证chain",
|
||||
"authChoice":"认证方式选择",
|
||||
"authChoiceAuthBasic":"AuthBasic handler parameter",
|
||||
"authChoiceModules":"允许的模块",
|
||||
"authChoiceParam":"URL 参数",
|
||||
"authentication":"认证模块",
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user