Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8204

XUI does not display proper error message when changing password

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.0.1, 11.0.2, 11.0.3, 12.0.0, 12.0.1, 12.0.2
    • Fix Version/s: 12.0.3
    • Component/s: XUI
    • Sprint:
      AM Sustaining Sprint 17, AM Sustaining Sprint 20
    • Support Ticket IDs:

      Description

      When changing a users password through change password link in the XUI, the correct error is not displayed to the user to inform the user what they have done incorrectly. The fix for OPENAM-6867 has been applied and while the correct error is shown for some user errors in the IdRepo log. Unfortunately, when the user tries to change their password through the XUI, the XUI does not show the proper LDAP error.

      Steps to recreate:

      1. Setup OpenAM with an external OpenDJ
      2. Create a password Policy with minimum password length
      3. Login as end user using http://host1.example.com:8080/openam/XUI/#login/
      4. Select "Change Password".
      5. Enter a new password that does not have the correct length.
      6. The user will see no error on the Change Password screen.

      Using Google Developer tools and looking at the Network you will see the following Response from trying to change the password:

      {"code":400,"reason":"Bad Request","message":"The provided password value was rejected by a password validator: The provided password is shorter than the minimum required length of 9 characters"}

      The same error is seen in the IdRepo logs. The XUI should display the same error as seen in the response to the user if the user makes a mistake.

        Attachments

          Activity

            People

            • Assignee:
              quentin.castel Quentin CASTEL [X] (Inactive)
              Reporter:
              abel.hoxeng Abel Hoxeng
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Time Spent - 3.5h Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - 3.5h Remaining Estimate - 0.5h
                3.5h