Class Credentials

java.lang.Object
com.skava.model.datatransferobjects.Credentials
All Implemented Interfaces:
Serializable

public class Credentials extends Object implements Serializable
This class defines the model Credentials (Data transfer Object) holds the credentials details. Credentials is where secured information like password, old password and security questions of a user are maintained.
Author:
Infosys Equinox
See Also:
  • Constructor Details

    • Credentials

      public Credentials()
      Default constructor
  • Method Details

    • doHashing

      public void doHashing(String pwdHashingAlgorithm)
      This method is used for password hashing.
      Parameters:
      pwdHashingAlgorithm - specifies hashing algorithm for hashing the password.
    • isValidPassword

      public boolean isValidPassword(String validatorClass, String validatorConfig, Map<String,String> propMap, long collectionId, CollectionCommonServices collectionCommonServices)
      Parameters:
      collectionCommonServices -
      collectionId - This method is used to validates the give Password with validator class and config.
      validatorClass - Indicates the validator class for validating the given password.
      validatorConfig - Indicates the validator config for validating the given password.
      propMap - Indicates the collection properties map.
      Returns:
      Boolean value true, if it is valid else return false.