Package com.skava.strategy
Interface PwdValidatorStrategy
- All Known Implementing Classes:
DefaultPwdValidatorStrategyImpl
public interface PwdValidatorStrategy
This class provides functionality of validating Password with the password validator config.
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidPassword
(String password, org.json.JSONObject passwordValidatorConfig) Checks whether the given password is valid password or not.default boolean
isValidPassword
(String password, org.json.JSONObject passwordValidatorConfig, Map<String, String> propMap) Checks whether the given password is valid password or not.
-
Method Details
-
isValidPassword
Checks whether the given password is valid password or not.- Parameters:
password
- Indicates the password of an user which is used for validating the user password by validator config.passwordValidatorConfig
- HoldsJSONObject
which is passwordConfig for validating the password by validator config.- Returns:
- True, if it is a valid password
-
isValidPassword
default boolean isValidPassword(String password, org.json.JSONObject passwordValidatorConfig, Map<String, String> propMap) Checks whether the given password is valid password or not.- Parameters:
password
- Indicates the password of an user which is used for validating the user password by validator config.passwordValidatorConfig
- HoldsJSONObject
which is passwordConfig for validating the password by validator config.propMap
- Indicates the collection properties map.- Returns:
- True, if it is a valid password
-