Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-25575

Password Validator Message not shown when changing your password.

    XMLWordPrintable

    Details

    • Notability:
      3

      Description

      Issue:

      Password Validator Message not shown when changing your password under your user profile.

       

      Steps to reproduce:

      1) Setup Nexus to have Password validation:

      nexus.password.validator=^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@$!%*#?&]).{8,}$
      nexus.password.validator.message=Passwords must contain a lowercase letter, an uppercase letter, a special character, a number and minimum length of 8.
      

      https://help.sonatype.com/repomanager3/system-configuration/user-authentication/local-authentication#LocalAuthentication-EnforcingPasswordRequirementsYellowNEWIN3.25

      2) Login as a user

      3) Change your password to a password that would fail validation (do this through user profile section).

      User profile -> Account -> Change password to password that would fail validation.

      You will see "Change Password failed" with no text from "nexus.password.validator.message".

      Expected Behaviour:

      If password validation failed then it is expected that text in nexus.password.validator.message.

      nexus.password.validator.message=Passwords must contain a lowercase letter, an uppercase letter, a special character, a number and minimum length of 8.
      

       

      Note:

      If the password is changed under Security User section, then the validation text is correctly shown.

      Security -> Users -> some user -> Change password -> password that fails validation

        Attachments

          Activity

            People

            Assignee:
            oshiyanbade Olu Shiyanbade
            Reporter:
            msurani Mahendra Surani
            Last Updated By:
            Hajime Osako
            Team:
            NXRM - Operations/Groot
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title