Package io.goobi.viewer.faces.validators
Class PasswordValidator
java.lang.Object
io.goobi.viewer.faces.validators.PasswordValidator
- All Implemented Interfaces:
EventListener
,javax.faces.validator.Validator<String>
Syntax validator for passwords.
-
Field Summary
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value) static boolean
validatePassword
(String password) validatePassword.
-
Constructor Details
-
PasswordValidator
public PasswordValidator()
-
-
Method Details
-
validate
public void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value) throws javax.faces.validator.ValidatorException - Specified by:
validate
in interfacejavax.faces.validator.Validator<String>
- Throws:
javax.faces.validator.ValidatorException
-
validatePassword
validatePassword.
- Parameters:
password
- aString
object.- Returns:
- a boolean.
-