Package org.openiam.srvc.user
Interface PasswordWebService
-
- All Known Implementing Classes:
PasswordWebServiceImpl
public interface PasswordWebService
- Author:
- Suneet Shah Web service used for password management.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PasswordChangeResponse
changePassword(PasswordChangeRequest request)
PasswordResetTokenResponse
generatePasswordResetToken(PasswordResetTokenRequest request)
Generates a temporary token that can be used as part of Secure challenge responsePasswordValidationResponse
getGlobalPasswordPolicyWithRules()
Policy
getPasswordPolicy(PasswordPolicyAssocSearchBean searchBean)
Retrieves password policy for given search criteria.String
getPasswordResetToken(PasswordResetTokenRequest request)
Retrieves password reset token for given request.PasswordValidationResponse
isPasswordValid(Password pswd)
Determines if a password associated with a principal is valid based on the policies for a security domain.ValidatePasswordResetTokenResponse
validatePasswordResetToken(String token)
Validates that the temporary token generated bygeneratePasswordResetToken
is still valid
-
-
-
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 bygeneratePasswordResetToken
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.
-
getGlobalPasswordPolicyWithRules
PasswordValidationResponse getGlobalPasswordPolicyWithRules()
-
changePassword
PasswordChangeResponse changePassword(PasswordChangeRequest request)
-
-