Class PasswordValidationAction

  • All Implemented Interfaces:
    AuthorizableAction

    public class PasswordValidationAction
    extends AbstractAuthorizableAction
    PasswordValidationAction provides a simple password validation mechanism with the following configurable option:
    • constraint: a regular expression that can be compiled to a Pattern defining validation rules for a password.

    The password validation is executed on user creation and upon password change. It throws a ConstraintViolationException if the password validation fails.

    See Also:
    UserManager.createUser(String, String), User.changePassword(String), User.changePassword(String, String)