|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthenticatedSelfService
| Method Summary | |
|---|---|
long |
addProxyForUser(long proxyUserKey, java.util.Date startDate, java.util.Date endDate)Adds/Sets proxy for user after checking the user privilege |
void |
changePassword(char[] password)Accepts the new password (since old password is expired) and sets it as the current password for the user |
void |
changePassword(char[] oldPwd, char[] newPwd, char[] confirmPwd)Accepts the old and new password for the logged-in user and changes his password if validations pass. |
java.util.HashMap |
getChallengeValuesForSelf()Returns the challenge values for self. |
User |
getProfileDetails(java.util.Set retAttrs)Returns the details of the logged-in user. |
java.lang.String[] |
getSystemChallengeQuestions()Returns the list of all challenge questions available in the system |
java.lang.String[] |
getUserDefinedChallengeQuestions(java.lang.String userName)Gets the String array of user's challenge questions |
java.util.HashMap |
modifyProfileDetails(java.util.HashMap attributeMap)This method modifies the logged-in user's profile attributes. |
void |
removeProxy(java.lang.String userID, long proxyKey, java.util.Map attrMap, boolean isUserLogin)Will check the user privilege and will give call to UserManager API for proxy removal |
void |
setChallengeValues(java.util.Map quesAnsMap)Sets challenge questions and answers for logged-in user. |
void |
updateProxyForUser(long pxdKey, java.util.Map updateMap)Will check the user privilege and will give call to UserManager API for proxy updation |
| Method Detail |
|---|
void changePassword(char[] oldPwd,
char[] newPwd,
char[] confirmPwd)
throws ValidationFailedException,
ChangePasswordException
oldPwd - the old password of the logged-in usernewPwd - the new passwordconfigmPwd - the new password again for confirmationValidationFailedException - thrown when the old password is not valid or if the new password and confirm password do not match.ChangePasswordException - thrown when there is an exception while changing the user's password
java.lang.String[] getSystemChallengeQuestions()
throws AuthSelfServiceException
AuthSelfServiceException - thrown when there's an error while getting the system challenge questions.
void setChallengeValues(java.util.Map quesAnsMap)
throws ValidationFailedException,
SetChallengeValueException
quesAnsMap - A Map of challenge questions and answers to be set for logged-in userSetChallengeValueException - thrown when there is a failure while setting the challenge questionsValidationFailedException - is throw if validation fails for the challenge operation
void changePassword(char[] password)
throws ValidationFailedException,
ResetPasswordException
password - The password to set as new password for the user.ResetPasswordException - thrown when there's a failure while resetting the user passwordValidationFailedException - is thrown if the validation fails while setting the new password.
java.lang.String[] getUserDefinedChallengeQuestions(java.lang.String userName)
throws UserAccountDisabledException,
UserAccountInvalidException,
AuthSelfServiceException
String array of user's challenge questionsuserName - The user login whose challenge questions are to be retrievedUserAccountDisabledException - thrown if user account is disabledUserAccountInvalidException - thrown if user account is invalidAuthSelfServiceException - thrown if there's an error getting the user's challenge questions
java.util.HashMap modifyProfileDetails(java.util.HashMap attributeMap)
throws ValidationFailedException,
oracle.iam.platform.authz.exception.AccessDeniedException,
AuthSelfServiceException
attributeMap - The Map of attribute value pair that are to be modifiedMap contains authorized modified attribute list, the list of attributes that are sent via request and request id, if soValidationFailedException - thrown if validation for modify operation fails.oracle.iam.platform.authz.exception.AccessDeniedException - thrown if the user doesn't have authorization to update his profileAuthSelfServiceException - thrown if there is an exception while modifying the profile
User getProfileDetails(java.util.Set retAttrs)
throws UserLookupException
retAttrs - the set of profile attributes whose values are desired. If this is null, then all profile attributes (as per policy) are returned.User class is a value object class to hold the GUID, attribute name-value pair and direct reports of user.UserLookupException - thrown when there was an exception while fetching the user attributes
java.util.HashMap getChallengeValuesForSelf()
throws AuthSelfServiceException
AuthSelfServiceException
long addProxyForUser(long proxyUserKey,
java.util.Date startDate,
java.util.Date endDate)
throws NoSuchUserException,
RecursiveProxyException,
UserManagerException,
oracle.iam.platform.authz.exception.AccessDeniedException
proxyUserKey - key of the user to be proxied.startDate - start date for proxy.endDate - end date of the proxy.NoSuchUserExceptionRecursiveProxyExceptionUserManagerExceptionoracle.iam.platform.authz.exception.AccessDeniedException
void updateProxyForUser(long pxdKey,
java.util.Map updateMap)
throws NoSuchUserException,
RecursiveProxyException,
UserManagerException,
oracle.iam.platform.authz.exception.AccessDeniedException
pxdKey - key of the proxy whose details is to be updated.attribute - an attribute map of the fields to update:NoSuchUserExceptionRecursiveProxyExceptionUserManagerExceptionoracle.iam.platform.authz.exception.AccessDeniedException
void removeProxy(java.lang.String userID,
long proxyKey,
java.util.Map attrMap,
boolean isUserLogin)
throws NoSuchUserException,
UserManagerException,
oracle.iam.platform.authz.exception.AccessDeniedException
userID - The id of the user whose proxy is to be removed. The isUserLogin flag will decide what does userID contains.proxyKey - The key of the proxy to be removed.attrMap - [Optional] The Map of attributes containing proxy details.isUserLogin - Set to true if the userID contains user login and false if the userID contains user key.NoSuchUserExceptionUserManagerExceptionoracle.iam.platform.authz.exception.AccessDeniedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||