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

Password-complexity regex is not enforced when setting a password using soap

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • 2.0
    • SOAP
    • None

      When I create a user, the credential passed to crowd is not validated against the regex configured for the directory.

          Form Name

            [CWD-1676] Password-complexity regex is not enforced when setting a password using soap

            This feature will only currently work with an Internal Directory.

            The addUser method on the InternalDirectory calls

            private void validateCredential(PasswordCredential credential) throws InvalidCredentialException

            , this method validates if a password meets the given regex.

            I have just tested this via the Demo application (that uses the SOAP API) in Crowd 2.0.3 with success.

            Justin Koke added a comment - This feature will only currently work with an Internal Directory. The addUser method on the InternalDirectory calls private void validateCredential(PasswordCredential credential) throws InvalidCredentialException , this method validates if a password meets the given regex. I have just tested this via the Demo application (that uses the SOAP API) in Crowd 2.0.3 with success.

              Unassigned Unassigned
              040c2f05355d Michael Ketting
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: