Repository navigation
Password policies - #6567
Password policies#6567
Conversation
|
SonarCloud Quality Gate failed. |
|
@blueorangutan package |
|
@harikrishna-patnala a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3832 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
RodrigoDLopez
left a comment
There was a problem hiding this comment.
code lgtm. Approved based on manual tests
|
Trillian test result (tid-4587)
|
|
@harikrishna-patnala are your concerns met? |
GutoVeronezi
left a comment
There was a problem hiding this comment.
LGTM, nice job @JoaoJandre!
Co-authored-by: João Paraquetti <joao@scclouds.com.br>
|
This looks like a regression of the pr |
@weizhouapache I've opened a PR to fix this. |








Description
Currently, ACS does not have a feature to manage user password policies. New domain-scoped settings were created to allow operators to define password policies. Configured password policies will be applied whenever a user changes their password or a new user is created. The following settings were created:
password.policy.minimum.lengthpassword.policy.minimum.lowercase.letterspassword.policy.minimum.uppercase.letterspassword.policy.minimum.special.characterspassword.policy.minimum.digitspassword.policy.allowPasswordToContainUsernamepassword.policy.regexTypes of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
Unit tests were created for the new methods. Furthermore each configuration was individually tested in the ROOT domain. The creation of a user was tested, to ensure that verification of password policies was being called. All other tests were done by changing the user's password via the UI.
password.policy.minimum.length= 0 and password "abc"password.policy.minimum.length= 5 and password "abc"password.policy.minimum.length= 5 and password "abcde"password.policy.minimum.lowercase.letters= 0 and password "ABC"password.policy.minimum.lowercase.letters= 1 and password "ABC"password.policy.minimum.lowercase.letters= 1 and password "aBC"password.policy.minimum.uppercase.letters= 0 and password "abc"password.policy.minimum.uppercase.letters= 1 and password "abc"password.policy.minimum.uppercase.letters= 1 and password "Abc"password.policy.minimum.special.characters= 0 and password "abc"password.policy.minimum.special.characters= 1 and password "abc"password.policy.minimum.special.characters= 1 and password "&bc"password.policy.minimum.digits= 0 and password "abc"password.policy.minimum.digits= 1 and password "abc"password.policy.minimum.digits= 1 and password "1bc"password.policy.allowPasswordToContainUsername= true, password "abc" and username "test"password.policy.allowPasswordToContainUsername= true, password "testabc" and username "test"password.policy.allowPasswordToContainUsername= false, password "abc" and username "test"password.policy.allowPasswordToContainUsername= false, password "testabc" and username "test"password.policy.regex= ".+" and password "abc"password.policy.regex= "[a-z]+" and password "abc"password.policy.regex= "[a-z]+" and password "abc1"password.policy.minimum.length= 5,password.policy.minimum.lowercase.letters= 1,password.policy.minimum.uppercase.letters= 1,password.policy.minimum.special.characters= 1,password.policy.minimum.digits= 1,password.policy.allowPasswordToContainUsername= false,password.policy.regex= "[a-zA-Z1-9@]+ " and password " aA1@b"Tests were repeated on a subdomain of the ROOT to ensure that the settings taken into account were always from the subdomain, and all tests went as expected.