Common Domain Cookie parameters in Manager (#18)
This commit is contained in:
parent
19a5ec8512
commit
0a0c13a1b9
|
@ -1009,7 +1009,7 @@ sub struct {
|
|||
# ADVANCED SAML PARAMETERS
|
||||
samlAdvanced => {
|
||||
_nodes => [
|
||||
qw(samlIdPResolveCookie samlMetadataForceUTF8 samlUserDBIdentityKey samlStorage cn:samlStorageOptions)
|
||||
qw(samlIdPResolveCookie samlMetadataForceUTF8 samlUserDBIdentityKey samlStorage cn:samlStorageOptions n:samlCommonDomainCookie)
|
||||
],
|
||||
|
||||
samlIdPResolveCookie => 'text:/samlIdPResolveCookie',
|
||||
|
@ -1021,6 +1021,19 @@ sub struct {
|
|||
_js => 'hashRoot',
|
||||
_help => 'default',
|
||||
},
|
||||
samlCommonDomainCookie => {
|
||||
_nodes => [
|
||||
qw(samlCommonDomainCookieActivation samlCommonDomainCookieDomain samlCommonDomainCookieReader samlCommonDomainCookieWriter)
|
||||
],
|
||||
samlCommonDomainCookieActivation =>
|
||||
'bool:/samlCommonDomainCookieActivation',
|
||||
samlCommonDomainCookieDomain =>
|
||||
'text:/samlCommonDomainCookieDomain',
|
||||
samlCommonDomainCookieReader =>
|
||||
'text:/samlCommonDomainCookieReader',
|
||||
samlCommonDomainCookieWriter =>
|
||||
'text:/samlCommonDomainCookieWriter',
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
|
@ -1435,6 +1448,19 @@ sub testStruct {
|
|||
samlAuthnContextMapPasswordProtectedTransport => $integer,
|
||||
samlAuthnContextMapTLSClient => $integer,
|
||||
samlAuthnContextMapKerberos => $integer,
|
||||
samlCommonDomainCookieActivation => $boolean,
|
||||
samlCommonDomainCookieDomain => {
|
||||
test => Lemonldap::NG::Common::Regexp::HOSTNAME,
|
||||
msgFail => 'Bad domain',
|
||||
},
|
||||
samlCommonDomainCookieReader => {
|
||||
test => Lemonldap::NG::Common::Regexp::HTTP_URI,
|
||||
msgFail => 'Bad URI',
|
||||
},
|
||||
samlCommonDomainCookieWriter => {
|
||||
test => Lemonldap::NG::Common::Regexp::HTTP_URI,
|
||||
msgFail => 'Bad URI',
|
||||
},
|
||||
|
||||
# SSL
|
||||
SSLAuthnLevel => $integer,
|
||||
|
@ -1705,6 +1731,7 @@ sub defaultConf {
|
|||
samlAuthnContextMapPasswordProtectedTransport => 3,
|
||||
samlAuthnContextMapTLSClient => 5,
|
||||
samlAuthnContextMapKerberos => 4,
|
||||
samlCommonDomainCookieActivation => 0,
|
||||
|
||||
# Authentication levels
|
||||
ldapAuthnLevel => 2,
|
||||
|
|
|
@ -394,6 +394,11 @@ sub en {
|
|||
'Password protected transport',
|
||||
samlAuthnContextMapTLSClient => 'TLS client',
|
||||
samlAuthnContextMapKerberos => 'Kerberos',
|
||||
samlCommonDomainCookie => 'Common Domain Cookie',
|
||||
samlCommonDomainCookieActivation => 'Activation',
|
||||
samlCommonDomainCookieDomain => 'Common domain',
|
||||
samlCommonDomainCookieReader => 'Reader URL',
|
||||
samlCommonDomainCookieWriter => 'Writer URL',
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -757,6 +762,11 @@ sub fr {
|
|||
'Mot de passe protégé',
|
||||
samlAuthnContextMapTLSClient => 'Client TLS',
|
||||
samlAuthnContextMapKerberos => 'Kerberos',
|
||||
samlCommonDomainCookie => 'Cookie de Domaine Commun',
|
||||
samlCommonDomainCookieActivation => 'Activation',
|
||||
samlCommonDomainCookieDomain => 'Domaine commun',
|
||||
samlCommonDomainCookieReader => 'URL de lecture',
|
||||
samlCommonDomainCookieWriter => 'URL d\'écriture',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user