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 Type
    Method
    Description
    boolean
    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

      boolean isValidPassword(String password, org.json.JSONObject passwordValidatorConfig)
      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 - Holds JSONObject 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 - Holds JSONObject which is passwordConfig for validating the password by validator config.
      propMap - Indicates the collection properties map.
      Returns:
      True, if it is a valid password