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.

    • 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.

            [CWD-362] Reset password error is not useful when regex is not passed.

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1511014 ] New: JAC Bug Workflow v3 [ 3365387 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392898 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1511014 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 273710 ] New: Simplified Crowd Development Workflow v2 [ 1392898 ]
            jawong.adm made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 174053 ] New: Crowd Development Workflow v2 [ 273710 ]
            David O'Flynn [Atlassian] made changes -
            Fix Version/s New: 2.1 [ 14496 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            David O'Flynn [Atlassian] made changes -
            Link New: This issue is incorporated by CWD-1875 [ CWD-1875 ]
            Support Count Updater made changes -
            Support reference count New: 3
            Justin Koke made changes -
            Workflow Original: jira [ 83079 ] New: JIRA Bug Workflow v2 [ 174053 ]
            Renan Battaglin made changes -
            Assignee Original: Justen Stepka [Atlassian] [ justen.stepka@atlassian.com ] New: Renan Battaglin [ rbattaglin ]
            DonnaA made changes -
            Component/s New: Caching [ 12774 ]
            Component/s Original: Administration [ 11544 ]

              rbattaglin Renan Battaglin
              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              Affected customers:
              9 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: