Interface PasswordWebService

  • All Known Implementing Classes:
    PasswordWebServiceImpl

    public interface PasswordWebService
    Author:
    Suneet Shah Web service used for password management.
    • Method Detail

      • isPasswordValid

        PasswordValidationResponse isPasswordValid​(Password pswd)
        Determines if a password associated with a principal is valid based on the policies for a security domain.
        Parameters:
        pswd - Password that will be checked for validity.
        Returns:
        PasswordValidationResponse.
      • generatePasswordResetToken

        PasswordResetTokenResponse generatePasswordResetToken​(PasswordResetTokenRequest request)
        Generates a temporary token that can be used as part of Secure challenge response
        Parameters:
        request - Password reset token request.
        Returns:
        PasswordResetTokenResponse.
      • validatePasswordResetToken

        ValidatePasswordResetTokenResponse validatePasswordResetToken​(String token)
        Validates that the temporary token generated by generatePasswordResetToken is still valid
        Parameters:
        token - Token which validity will be checked.
        Returns:
        ValidatePasswordResetTokenResponse
      • getPasswordPolicy

        Policy getPasswordPolicy​(PasswordPolicyAssocSearchBean searchBean)
        Retrieves password policy for given search criteria.
        Parameters:
        searchBean - Search bean used for search criteria.
        Returns:
        Policy.
      • getPasswordResetToken

        String getPasswordResetToken​(PasswordResetTokenRequest request)
        Retrieves password reset token for given request.
        Parameters:
        request - Password reset token request.
        Returns:
        Password reset token.