Set a default value to encryption key
This commit is contained in:
parent
85d384bac1
commit
416fa64a0d
@ -668,10 +668,11 @@ sub struct {
|
|||||||
},
|
},
|
||||||
|
|
||||||
security => {
|
security => {
|
||||||
_nodes => [qw(userControl portalForceAuthn)],
|
_nodes => [qw(userControl portalForceAuthn key)],
|
||||||
userControl => 'text:/userControl:userControl:text',
|
userControl => 'text:/userControl:userControl:text',
|
||||||
portalForceAuthn =>
|
portalForceAuthn =>
|
||||||
'bool:/portalForceAuthn:portalForceAuthn:bool',
|
'bool:/portalForceAuthn:portalForceAuthn:bool',
|
||||||
|
key => 'text:/key:key:text',
|
||||||
},
|
},
|
||||||
|
|
||||||
redirection => {
|
redirection => {
|
||||||
@ -1151,6 +1152,7 @@ sub testStruct {
|
|||||||
1;
|
1;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
key => $testNotDefined,
|
||||||
ldapAuthnLevel => $integer,
|
ldapAuthnLevel => $integer,
|
||||||
ldapBase => {
|
ldapBase => {
|
||||||
test => qr/^(?:\w+=.*|)$/,
|
test => qr/^(?:\w+=.*|)$/,
|
||||||
@ -1528,6 +1530,7 @@ sub defaultConf {
|
|||||||
issuerDBOpenIDActivation => '0',
|
issuerDBOpenIDActivation => '0',
|
||||||
issuerDBOpenIDPath => '^/openidserver/',
|
issuerDBOpenIDPath => '^/openidserver/',
|
||||||
issuerDBOpenIDRule => '1',
|
issuerDBOpenIDRule => '1',
|
||||||
|
key => join( '', map { chr( int( rand(94) ) + 33 ) } ( 1 .. 16 ) ),
|
||||||
ldapBase => 'dc=example,dc=com',
|
ldapBase => 'dc=example,dc=com',
|
||||||
ldapPort => '389',
|
ldapPort => '389',
|
||||||
ldapPwdEnc => 'utf-8',
|
ldapPwdEnc => 'utf-8',
|
||||||
|
@ -143,6 +143,7 @@ sub en {
|
|||||||
issuerDBOpenIDActivation => 'Activation',
|
issuerDBOpenIDActivation => 'Activation',
|
||||||
issuerDBOpenIDPath => 'Path',
|
issuerDBOpenIDPath => 'Path',
|
||||||
issuerDBOpenIDRule => 'Use rule',
|
issuerDBOpenIDRule => 'Use rule',
|
||||||
|
key => 'Encryption key',
|
||||||
ldap => 'LDAP',
|
ldap => 'LDAP',
|
||||||
ldapAuthnLevel => 'Authentication level',
|
ldapAuthnLevel => 'Authentication level',
|
||||||
ldapBase => 'Users search base',
|
ldapBase => 'Users search base',
|
||||||
@ -492,6 +493,7 @@ sub fr {
|
|||||||
issuerDBOpenIDActivation => 'Activation',
|
issuerDBOpenIDActivation => 'Activation',
|
||||||
issuerDBOpenIDPath => 'Chemin',
|
issuerDBOpenIDPath => 'Chemin',
|
||||||
issuerDBOpenIDRule => 'Règle d\'utilisation',
|
issuerDBOpenIDRule => 'Règle d\'utilisation',
|
||||||
|
key => 'Clef de chiffrement',
|
||||||
ldap => 'LDAP',
|
ldap => 'LDAP',
|
||||||
ldapAuthnLevel => 'Niveau d\'authentification',
|
ldapAuthnLevel => 'Niveau d\'authentification',
|
||||||
ldapBase => 'Base de recherche des utilisateurs',
|
ldapBase => 'Base de recherche des utilisateurs',
|
||||||
|
Loading…
Reference in New Issue
Block a user