Package org.dspace.authorize.service
Interface PasswordValidatorService
-
- All Known Implementing Classes:
RegexPasswordValidator
public interface PasswordValidatorServiceInterface for classes that validate a given password with a specific strategy.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPasswordValid(String password)This method checks whether the password is validbooleanisPasswordValidationEnabled()Check if the password validator is active.
-
-
-
Method Detail
-
isPasswordValidationEnabled
boolean isPasswordValidationEnabled()
Check if the password validator is active.
-
isPasswordValid
boolean isPasswordValid(String password)
This method checks whether the password is valid- Parameters:
password- password to validate
-
-