Skip to content

Commit d017050

Browse files
committed
N°8933 - Change password default length
1 parent 3b62597 commit d017050

17 files changed

+301
-301
lines changed

datamodels/2.x/authent-local/datamodel.authent-local.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="3.2">
33
<module_parameters>
44
<parameters id="authent-local" _delta="define">
5-
<password_validation.pattern>^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).{8,}$</password_validation.pattern>
5+
<password_validation.pattern>^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).{12,}$</password_validation.pattern>
66
<password_validation.message type="hash"/>
77
</parameters>
88
</module_parameters>

datamodels/2.x/authent-local/dictionaries/cs.dict.authent-local.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@
1313
*
1414
*/
1515
Dict::Add('CS CZ', 'Czech', 'Čeština', [
16-
'Class:UserLocal' => 'interní uživatel '.ITOP_APPLICATION_SHORT,
17-
'Class:UserLocal+' => 'Uživatel ověřen interně v '.ITOP_APPLICATION_SHORT,
18-
'Class:UserLocal/Attribute:password' => 'Heslo',
19-
'Class:UserLocal/Attribute:password+' => '',
20-
'Class:UserLocal/Attribute:expiration' => 'Exspirace hesla',
21-
'Class:UserLocal/Attribute:expiration+' => 'Status exspirace hesla (je vyžadováno rozšíření, aby mělo efekt)',
22-
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Může exspirovat',
23-
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '~~',
24-
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Nikdy neexspiruje',
25-
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '~~',
26-
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Exspirován',
27-
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '~~',
28-
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'Jednorázové heslo',
29-
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Heslo nemůže uživatel změnit.',
30-
'Class:UserLocal/Attribute:password_renewed_date' => 'Heslo bylo obnoveno',
31-
'Class:UserLocal/Attribute:password_renewed_date+' => 'Termín, kdy bylo heslo změneno',
32-
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Heslo musí obsahovat minimálně 8 znaků a musí obsahovat minimálně jedno velké písmeno, jedno malé písmeno, jedno číslo a speciální znak.',
33-
'UserLocal:password:expiration' => 'Níže uvedená pole vyžadují rozšíření',
34-
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Nastavení exspirace "Jednorázového hesla" nelze u vlastního účtu uživatele.',
16+
'Class:UserLocal' => 'interní uživatel '.ITOP_APPLICATION_SHORT,
17+
'Class:UserLocal+' => 'Uživatel ověřen interně v '.ITOP_APPLICATION_SHORT,
18+
'Class:UserLocal/Attribute:password' => 'Heslo',
19+
'Class:UserLocal/Attribute:password+' => '',
20+
'Class:UserLocal/Attribute:expiration' => 'Exspirace hesla',
21+
'Class:UserLocal/Attribute:expiration+' => 'Status exspirace hesla (je vyžadováno rozšíření, aby mělo efekt)',
22+
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Může exspirovat',
23+
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '~~',
24+
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Nikdy neexspiruje',
25+
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '~~',
26+
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Exspirován',
27+
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '~~',
28+
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'Jednorázové heslo',
29+
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Heslo nemůže uživatel změnit.',
30+
'Class:UserLocal/Attribute:password_renewed_date' => 'Heslo bylo obnoveno',
31+
'Class:UserLocal/Attribute:password_renewed_date+' => 'Termín, kdy bylo heslo změneno',
32+
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Heslo musí obsahovat minimálně 12 znaků a musí obsahovat minimálně jedno velké písmeno, jedno malé písmeno, jedno číslo a speciální znak.',
33+
'UserLocal:password:expiration' => 'Níže uvedená pole vyžadují rozšíření',
34+
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Nastavení exspirace "Jednorázového hesla" nelze u vlastního účtu uživatele.',
3535
]);

datamodels/2.x/authent-local/dictionaries/da.dict.authent-local.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
*
1313
*/
1414
Dict::Add('DA DA', 'Danish', 'Dansk', [
15-
'Class:UserLocal' => ITOP_APPLICATION_SHORT.'-Bruger',
16-
'Class:UserLocal+' => 'Bruger der godkendes af '.ITOP_APPLICATION_SHORT,
17-
'Class:UserLocal/Attribute:password' => 'Password',
18-
'Class:UserLocal/Attribute:password+' => 'Brugerens password',
19-
'Class:UserLocal/Attribute:expiration' => 'Password expiration~~',
20-
'Class:UserLocal/Attribute:expiration+' => 'Password expiration status (requires an extension to have an effect)~~',
21-
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Can expire~~',
22-
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '~~',
23-
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Never expire~~',
24-
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '~~',
25-
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Expired~~',
26-
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '~~',
27-
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'One-time Password~~',
28-
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Password cannot be changed by the user.~~',
29-
'Class:UserLocal/Attribute:password_renewed_date' => 'Password renewed on~~',
30-
'Class:UserLocal/Attribute:password_renewed_date+' => 'When the password was last changed~~',
31-
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Password must be at least 8 characters and include uppercase, lowercase, numeric and special characters.~~',
32-
'UserLocal:password:expiration' => 'The fields below require an extension~~',
33-
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User~~',
15+
'Class:UserLocal' => ITOP_APPLICATION_SHORT.'-Bruger',
16+
'Class:UserLocal+' => 'Bruger der godkendes af '.ITOP_APPLICATION_SHORT,
17+
'Class:UserLocal/Attribute:password' => 'Password',
18+
'Class:UserLocal/Attribute:password+' => 'Brugerens password',
19+
'Class:UserLocal/Attribute:expiration' => 'Password expiration~~',
20+
'Class:UserLocal/Attribute:expiration+' => 'Password expiration status (requires an extension to have an effect)~~',
21+
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Can expire~~',
22+
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '~~',
23+
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Never expire~~',
24+
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '~~',
25+
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Expired~~',
26+
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '~~',
27+
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'One-time Password~~',
28+
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Password cannot be changed by the user.~~',
29+
'Class:UserLocal/Attribute:password_renewed_date' => 'Password renewed on~~',
30+
'Class:UserLocal/Attribute:password_renewed_date+' => 'When the password was last changed~~',
31+
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Password must be at least 12 characters and include uppercase, lowercase, numeric and special characters.~~',
32+
'UserLocal:password:expiration' => 'The fields below require an extension~~',
33+
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User~~',
3434
]);

datamodels/2.x/authent-local/dictionaries/de.dict.authent-local.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
*
1313
*/
1414
Dict::Add('DE DE', 'German', 'Deutsch', [
15-
'Class:UserLocal' => ITOP_APPLICATION_SHORT.'-Benutzer',
16-
'Class:UserLocal+' => 'Benutzer, der von '.ITOP_APPLICATION_SHORT.' authentifiziert wird',
17-
'Class:UserLocal/Attribute:password' => 'Passwort',
18-
'Class:UserLocal/Attribute:password+' => 'Benutzerpasswort',
19-
'Class:UserLocal/Attribute:expiration' => 'Passwortablauf',
20-
'Class:UserLocal/Attribute:expiration+' => 'Passwortablaufstatus (statusabhängige Effekte müssen per Extension implementiert werden)',
21-
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'kann ablaufen',
22-
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '',
23-
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'läuft nie ab',
24-
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '',
25-
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'abgelaufen',
26-
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '',
27-
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'einmaliges Passwort',
28-
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => '',
29-
'Class:UserLocal/Attribute:password_renewed_date' => 'Letzte Passworterneuerung',
30-
'Class:UserLocal/Attribute:password_renewed_date+' => 'Letztes Änderungsdatum',
31-
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Das Passwort entspricht nicht dem in den Konfigurationsregeln hinterlegten RegEx-Ausdruck',
32-
'UserLocal:password:expiration' => 'Die folgenden Felder benötigen eine '.ITOP_APPLICATION_SHORT.' Erweiterung',
33-
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Das setzen des Passwortablaufs auf "Einmalpasswort" ist für den eigenen Benutzer nicht erlaubt.',
15+
'Class:UserLocal' => ITOP_APPLICATION_SHORT.'-Benutzer',
16+
'Class:UserLocal+' => 'Benutzer, der von '.ITOP_APPLICATION_SHORT.' authentifiziert wird',
17+
'Class:UserLocal/Attribute:password' => 'Passwort',
18+
'Class:UserLocal/Attribute:password+' => 'Benutzerpasswort',
19+
'Class:UserLocal/Attribute:expiration' => 'Passwortablauf',
20+
'Class:UserLocal/Attribute:expiration+' => 'Passwortablaufstatus (statusabhängige Effekte müssen per Extension implementiert werden)',
21+
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'kann ablaufen',
22+
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '',
23+
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'läuft nie ab',
24+
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '',
25+
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'abgelaufen',
26+
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '',
27+
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'einmaliges Passwort',
28+
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => '',
29+
'Class:UserLocal/Attribute:password_renewed_date' => 'Letzte Passworterneuerung',
30+
'Class:UserLocal/Attribute:password_renewed_date+' => 'Letztes Änderungsdatum',
31+
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Das Passwort muss mindestens 12 Zeichen lang sein und Großbuchstaben, Kleinbuchstaben, Zahlen und Sonderzeichen enthalten.',
32+
'UserLocal:password:expiration' => 'Die folgenden Felder benötigen eine '.ITOP_APPLICATION_SHORT.' Erweiterung',
33+
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Das setzen des Passwortablaufs auf "Einmalpasswort" ist für den eigenen Benutzer nicht erlaubt.',
3434
]);

datamodels/2.x/authent-local/dictionaries/en.dict.authent-local.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@
3737
//
3838

3939
Dict::Add('EN US', 'English', 'English', [
40-
'Class:UserLocal' => ITOP_APPLICATION_SHORT.' user',
41-
'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT,
42-
'Class:UserLocal/Attribute:password' => 'Password',
40+
'Class:UserLocal' => ITOP_APPLICATION_SHORT.' user',
41+
'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT,
42+
'Class:UserLocal/Attribute:password' => 'Password',
4343
'Class:UserLocal/Attribute:password+' => 'User authentication string',
4444

45-
'Class:UserLocal/Attribute:expiration' => 'Password expiration',
46-
'Class:UserLocal/Attribute:expiration+' => 'Password expiration status (requires an extension to have an effect)',
47-
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Can expire',
48-
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '',
49-
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Never expire',
45+
'Class:UserLocal/Attribute:expiration' => 'Password expiration',
46+
'Class:UserLocal/Attribute:expiration+' => 'Password expiration status (requires an extension to have an effect)',
47+
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Can expire',
48+
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '',
49+
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Never expire',
5050
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '',
51-
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Expired',
51+
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Expired',
5252
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '',
53-
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'One-time Password',
54-
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Password cannot be changed by the user.',
55-
'Class:UserLocal/Attribute:password_renewed_date' => 'Password renewed on',
56-
'Class:UserLocal/Attribute:password_renewed_date+' => 'When the password was last changed',
53+
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'One-time Password',
54+
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Password cannot be changed by the user.',
55+
'Class:UserLocal/Attribute:password_renewed_date' => 'Password renewed on',
56+
'Class:UserLocal/Attribute:password_renewed_date+' => 'When the password was last changed',
5757

58-
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Password must be at least 8 characters and include uppercase, lowercase, numeric and special characters.',
59-
'UserLocal:password:expiration' => 'The fields below require an extension',
60-
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User',
58+
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Password must be at least 12 characters and include uppercase, lowercase, numeric and special characters.',
59+
'UserLocal:password:expiration' => 'The fields below require an extension',
60+
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User',
6161
]);

datamodels/2.x/authent-local/dictionaries/en_gb.dict.authent-local.php

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,25 +37,25 @@
3737
//
3838

3939
Dict::Add('EN GB', 'British English', 'British English', [
40-
'Class:UserLocal' => ITOP_APPLICATION_SHORT.' user',
41-
'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT,
42-
'Class:UserLocal/Attribute:password' => 'Password',
40+
'Class:UserLocal' => ITOP_APPLICATION_SHORT.' user',
41+
'Class:UserLocal+' => 'User authentified by '.ITOP_APPLICATION_SHORT,
42+
'Class:UserLocal/Attribute:password' => 'Password',
4343
'Class:UserLocal/Attribute:password+' => 'User authentication string',
4444

45-
'Class:UserLocal/Attribute:expiration' => 'Password expiration',
46-
'Class:UserLocal/Attribute:expiration+' => 'Password expiration status (requires an extension to have an effect)',
47-
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Can expire',
48-
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '',
49-
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Never expire',
45+
'Class:UserLocal/Attribute:expiration' => 'Password expiration',
46+
'Class:UserLocal/Attribute:expiration+' => 'Password expiration status (requires an extension to have an effect)',
47+
'Class:UserLocal/Attribute:expiration/Value:can_expire' => 'Can expire',
48+
'Class:UserLocal/Attribute:expiration/Value:can_expire+' => '',
49+
'Class:UserLocal/Attribute:expiration/Value:never_expire' => 'Never expire',
5050
'Class:UserLocal/Attribute:expiration/Value:never_expire+' => '',
51-
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Expired',
51+
'Class:UserLocal/Attribute:expiration/Value:force_expire' => 'Expired',
5252
'Class:UserLocal/Attribute:expiration/Value:force_expire+' => '',
53-
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'One-time Password',
54-
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Password cannot be changed by the user.',
55-
'Class:UserLocal/Attribute:password_renewed_date' => 'Password renewed on',
56-
'Class:UserLocal/Attribute:password_renewed_date+' => 'When the password was last changed',
53+
'Class:UserLocal/Attribute:expiration/Value:otp_expire' => 'One-time Password',
54+
'Class:UserLocal/Attribute:expiration/Value:otp_expire+' => 'Password cannot be changed by the user.',
55+
'Class:UserLocal/Attribute:password_renewed_date' => 'Password renewed on',
56+
'Class:UserLocal/Attribute:password_renewed_date+' => 'When the password was last changed',
5757

58-
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Password must be at least 8 characters and include uppercase, lowercase, numeric and special characters.',
59-
'UserLocal:password:expiration' => 'The fields below require an extension',
60-
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User',
58+
'Error:UserLocalPasswordValidator:UserPasswordPolicyRegex:ValidationFailed' => 'Password must be at least 12 characters and include uppercase, lowercase, numeric and special characters.',
59+
'UserLocal:password:expiration' => 'The fields below require an extension',
60+
'Class:UserLocal/Error:OneTimePasswordChangeIsNotAllowed' => 'Setting password expiration to "One-time password" is not allowed for your own User',
6161
]);

0 commit comments

Comments
 (0)