Class PasswordValidator

  • All Implemented Interfaces:
    jakarta.faces.validator.Validator, EventListener

    @ApplicationScoped
    public class PasswordValidator
    extends Object
    implements jakarta.faces.validator.Validator
    • Constructor Detail

      • PasswordValidator

        public PasswordValidator()
    • Method Detail

      • validate

        public void validate​(jakarta.faces.context.FacesContext context,
                             jakarta.faces.component.UIComponent component,
                             Object value)
                      throws jakarta.faces.validator.ValidatorException
        Specified by:
        validate in interface jakarta.faces.validator.Validator
        Throws:
        jakarta.faces.validator.ValidatorException
      • getNewPassword

        public String getNewPassword()
      • setNewPassword

        public void setNewPassword​(String newPassword)