Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-362

Reset password error is not useful when regex is not passed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.1
    • None
    • Caching
    • None

      Clicking Reset Password produces an error - there is no message in the red panel, but the log shows an InvalidCredentialException - presumably validating a generated password against the regex for the directory.
      This error occurred twice in succession (Principal was searched for, details displayed each time) until finally a new password was successfully generated. However, there is only one instance of the exception in catalina.out (was this cached?).

      Regex used is:

      ^(?=.*\d).{8,12}$
      

      There are several items to address here:

      1. Display a clean error message when unable to generate a random password.
      2. Add instructional text that the random password generator may not be able generated by the internal password generator.
      3. Have random password generator make X attempts until a successful password is generator, if not able to display a clean error message.

            rbattaglin Renan Battaglin
            justen.stepka@atlassian.com Justen Stepka [Atlassian]
            Votes:
            9 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: