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 PasswordChangeResponsechangePassword(PasswordChangeRequest request)PasswordResetTokenResponsegeneratePasswordResetToken(PasswordResetTokenRequest request)Generates a temporary token that can be used as part of Secure challenge responsePasswordValidationResponsegetGlobalPasswordPolicyWithRules()PolicygetPasswordPolicy(PasswordPolicyAssocSearchBean searchBean)Retrieves password policy for given search criteria.StringgetPasswordResetToken(PasswordResetTokenRequest request)Retrieves password reset token for given request.PasswordValidationResponseisPasswordValid(Password pswd)Determines if a password associated with a principal is valid based on the policies for a security domain.ValidatePasswordResetTokenResponsevalidatePasswordResetToken(String token)Validates that the temporary token generated bygeneratePasswordResetTokenis 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 bygeneratePasswordResetTokenis 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)
-
-