Vivek Rathod created AMBARI-25306:
-------------------------------------

             Summary: Ambari Configurable Password policy: Invalid regex must 
throw exception/error
                 Key: AMBARI-25306
                 URL: https://issues.apache.org/jira/browse/AMBARI-25306
             Project: Ambari
          Issue Type: Bug
          Components: ambari-sever
    Affects Versions: 2.7.4
            Reporter: Vivek Rathod


Ambari Configurable Password policy: Invalid regex must throw exception/error

Try to configure \{code}security.password.policy.regexp\{code} with invalid 
regex like \{code}^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d]\{8, {code}

In this case ambari server restart is successful. Only when user tries to set a 
password, UI shows an error

This can be handled in a better way, maybe ambari server restart should throw 
exception?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to