|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnauthenticatedSelfService
The UnauthenticatedSelfService
API exposes the methods to a user who is not logged-in to the system to submit a request to register himself in the system and reset his forgotten/expired password.
Method Summary | |
---|---|
java.lang.String[] |
getChallengeQuestions(java.lang.String userName) Accepts the user login id and returns the set of challenge questions set by the user. |
java.lang.String[] |
getSystemChallengeQuestions() Returns the challenge questions that are available in the system. |
boolean |
resetPassword(java.lang.String userName, java.util.Map quesAns, char[] passwd) Accepts user login id, map of questions and answers and the new password and returns boolean flag depending on reset password success or failure. |
java.lang.String |
submitRegistrationRequest(java.util.Map requestDataMap, java.util.Map quesAndAnsMap, java.lang.String templateName, java.util.Map datasetAttributes) Accepts the user registration data,the questions and answers set by user, request template name and the dataset. |
Method Detail |
---|
java.lang.String[] getChallengeQuestions(java.lang.String userName) throws AuthSelfServiceException, UserAccountDisabledException, UserAccountInvalidException
userName
- The user login id in the system.AuthSelfServiceException
UserAccountDisabledException
UserAccountInvalidException
boolean resetPassword(java.lang.String userName, java.util.Map quesAns, char[] passwd) throws AuthSelfServiceException, UserAccountDisabledException, UserAccountInvalidException, NumberOfChallengesMismatchException, QuestionsNotDefinedException, PasswordIncorrectException, PasswordMismatchException, PasswordPolicyException, PasswordResetAttemptsExceededException, UserAlreadyLoggedInException
userName
- The user login in the system.quesAns
- The map containing questions and answers answered by user.passwd
- New passwordAuthSelfServiceException
UserAccountDisabledException
UserAccountInvalidException
NumberOfChallengesMismatchException
QuestionsNotDefinedException
PasswordIncorrectException
PasswordMismatchException
PasswordPolicyException
PasswordResetAttemptsExceededException
UserAlreadyLoggedInException
java.lang.String[] getSystemChallengeQuestions() throws AuthSelfServiceException, InvalidLookupException
AuthSelfServiceException
InvalidLookupException
java.lang.String submitRegistrationRequest(java.util.Map requestDataMap, java.util.Map quesAndAnsMap, java.lang.String templateName, java.util.Map datasetAttributes) throws RequestServiceException, InvalidRequestException, InvalidRequestDataException, BulkBeneficiariesAddException, BulkEntitiesAddException, oracle.iam.platform.kernel.ValidationFailedException, UnauthenticatedSelfServiceException
requestDataMap
- Map containing details for user registration.quesAndAnsMap
- Map containing challenge questions and answers defined by user while registration.templateName
- template used for registration.datasetAttributes
- Map containing attributes and corresponding attribute references as defined in request dataset template CreateUserDataSet.xmlRequestServiceException
InvalidRequestException
InvalidRequestDataException
BulkBeneficiariesAddException
BulkEntitiesAddException
oracle.iam.platform.kernel.ValidationFailedException
UnauthenticatedSelfServiceException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |