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
|
# ADVANCED SAML PARAMETERS
|
||||||
samlAdvanced => {
|
samlAdvanced => {
|
||||||
_nodes => [
|
_nodes => [
|
||||||
qw(samlIdPResolveCookie samlMetadataForceUTF8 samlUserDBIdentityKey samlStorage cn:samlStorageOptions)
|
qw(samlIdPResolveCookie samlMetadataForceUTF8 samlUserDBIdentityKey samlStorage cn:samlStorageOptions n:samlCommonDomainCookie)
|
||||||
],
|
],
|
||||||
|
|
||||||
samlIdPResolveCookie => 'text:/samlIdPResolveCookie',
|
samlIdPResolveCookie => 'text:/samlIdPResolveCookie',
|
||||||
|
@ -1021,6 +1021,19 @@ sub struct {
|
||||||
_js => 'hashRoot',
|
_js => 'hashRoot',
|
||||||
_help => 'default',
|
_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,
|
samlAuthnContextMapPasswordProtectedTransport => $integer,
|
||||||
samlAuthnContextMapTLSClient => $integer,
|
samlAuthnContextMapTLSClient => $integer,
|
||||||
samlAuthnContextMapKerberos => $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
|
# SSL
|
||||||
SSLAuthnLevel => $integer,
|
SSLAuthnLevel => $integer,
|
||||||
|
@ -1705,6 +1731,7 @@ sub defaultConf {
|
||||||
samlAuthnContextMapPasswordProtectedTransport => 3,
|
samlAuthnContextMapPasswordProtectedTransport => 3,
|
||||||
samlAuthnContextMapTLSClient => 5,
|
samlAuthnContextMapTLSClient => 5,
|
||||||
samlAuthnContextMapKerberos => 4,
|
samlAuthnContextMapKerberos => 4,
|
||||||
|
samlCommonDomainCookieActivation => 0,
|
||||||
|
|
||||||
# Authentication levels
|
# Authentication levels
|
||||||
ldapAuthnLevel => 2,
|
ldapAuthnLevel => 2,
|
||||||
|
|
|
@ -394,6 +394,11 @@ sub en {
|
||||||
'Password protected transport',
|
'Password protected transport',
|
||||||
samlAuthnContextMapTLSClient => 'TLS client',
|
samlAuthnContextMapTLSClient => 'TLS client',
|
||||||
samlAuthnContextMapKerberos => 'Kerberos',
|
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é',
|
'Mot de passe protégé',
|
||||||
samlAuthnContextMapTLSClient => 'Client TLS',
|
samlAuthnContextMapTLSClient => 'Client TLS',
|
||||||
samlAuthnContextMapKerberos => 'Kerberos',
|
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