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