|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.itim.apps.identity.ForgotPasswordManager
public class ForgotPasswordManager
This class provides forgot password management capabilities.
Constructor Summary | |
---|---|
ForgotPasswordManager(PlatformContext platform)
Constructs the manager with a platform context. |
Method Summary | |
---|---|
ForgotPasswordRequest |
changePassword(java.lang.String userID,
java.util.Map<java.lang.String,java.lang.String> challengesAndResponses,
java.lang.String newPassword)
The method changes the password for the associated userID after authenticating the user using challengesAndResponses and verifying that the system is set to allow password changes after challenge-response authentication. |
ForgotPasswordConfiguration |
getForgotPasswordConfiguration()
The method returns the Forgot Password Configuration. |
java.util.Collection<java.lang.String> |
getSecretQuestion(java.lang.String userID)
The method gets a collection of secret questions to be asked when a user forgets the password. |
ForgotPasswordRequest |
resetPassword(java.lang.String userID,
java.util.Map<java.lang.String,java.lang.String> challengesAndResponses)
The method resets the password for the associated userID after authenticating using challenge response. |
boolean |
validateChallengeResponse(java.lang.String userID,
java.util.Map<java.lang.String,java.lang.String> challengesAndResponses)
The method checks the responses for the user challenges. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForgotPasswordManager(PlatformContext platform)
platform
- PlatformContext identifying identity platform.Method Detail |
---|
public java.util.Collection<java.lang.String> getSecretQuestion(java.lang.String userID) throws java.rmi.RemoteException, ITIMFailedLoginException, ApplicationException
The
- userID parameter is the ID of the login user.
A
- RemoteException is thrown if a general exception occurs.
A
- ITIMFailedLoginException is thrown if an authentication error
occurs.
A
- ApplicationException is thrown if the method is unable to
retrieve the challenges.
java.rmi.RemoteException
ITIMFailedLoginException
ApplicationException
public ForgotPasswordConfiguration getForgotPasswordConfiguration() throws ApplicationException, java.rmi.RemoteException, ITIMFailedLoginException
An
- ITIMFailedLoginException is thrown if there was an
authentication error.
A
- RemoteException is thrown if a general exception occurs.
An
- ApplicationExcepton is thrown if the method is unable to
retrieve the setting.
ApplicationException
java.rmi.RemoteException
ITIMFailedLoginException
public ForgotPasswordRequest resetPassword(java.lang.String userID, java.util.Map<java.lang.String,java.lang.String> challengesAndResponses) throws ITIMFailedLoginException, java.rmi.RemoteException, ApplicationException
The
- userID parameter is the ID of the login user.The
- challengesAndResponses parameter specifies a mapping of user
challenges and responses.
An
- ITIMFailedLoginException is thrown if there was an
authentication error.
A
- RemoteException is thrown if a general exception occurs.
An
- ApplicationExcepton is thrown if the method is unable to
reset the password.
ITIMFailedLoginException
java.rmi.RemoteException
ApplicationException
public ForgotPasswordRequest changePassword(java.lang.String userID, java.util.Map<java.lang.String,java.lang.String> challengesAndResponses, java.lang.String newPassword) throws ITIMFailedLoginException, java.rmi.RemoteException, ApplicationException
The
- userID parameter is the ID of the login user.The
- challengesAndResponses parameter specifies a mapping of user
challenges and responses.The
- newPassword parameter specifies the value of the new password.
An
- ITIMFailedLoginException is thrown if there was an
authentication error.
A
- RemoteException is thrown if a general exception occurs.
An
- ApplicationExcepton is thrown if the method is unable to
change the password.
ITIMFailedLoginException
java.rmi.RemoteException
ApplicationException
public boolean validateChallengeResponse(java.lang.String userID, java.util.Map<java.lang.String,java.lang.String> challengesAndResponses) throws java.rmi.RemoteException, ITIMFailedLoginException, ApplicationException
The
- userID parameter is the ID of the login user.The
- challengesAndResponses parameter specifies a mapping of user challenges and responses.
java.rmi.RemoteException
- is thrown if a general exception occurs.
ITIMFailedLoginException
- is thrown if there is an authentication error like, challenge response
is not enabled, user is not found, account is not active, and maximum number of incorrect login
attempts are exceeded.
ApplicationException
- is thrown if the method is unable to validate the challenges and responses.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |