|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.idm.user.JndiUser
public class JndiUser
ImdUser Implementation using JNDI access method. This class is serialized for HA requirements. Only those functions which pass Dircontext object explicitly and dont rely on LdapContext dirctx member variable are guarenteed to work in HA Environment.
| Field Summary | |
|---|---|
protected User |
baseuser |
| Fields inherited from interface oracle.idm.user.IdmUser |
|---|
ADD_ATTRIBUTE, CMDLINE, DELETE_ATTRIBUTE, DEPROVISION_FAILURE, DEPROVISION_IN_PROGRESS, DEPROVISION_REQUIRED, DEPROVISION_SUCCESS, GUI, PENDING_UPGRADE, PROVISION_FAILURE, PROVISION_IN_PROGRESS, PROVISION_NOT_REQUIRED, PROVISION_REQUIRED, PROVISION_SUCCESS, REPLACE_ATTRIBUTE, STATUS_UNKNOWN, UPGRADE_FAILURE, UPGRADE_IN_PROGRESS, USER_INTERFACE |
| Constructor Summary | |
|---|---|
JndiUser(OIDContext oidctx, User baseuser) |
|
JndiUser(java.lang.String dn, java.lang.String orclGuid) |
|
| Method Summary | |
|---|---|
void |
changeSSOPassword(java.lang.String oldPass, java.lang.String newPass, boolean verify)Change SSO password for the user. |
PropertySetCollection |
getAllProperties()Gets all the user attributes and respective values as user properties. |
javax.naming.directory.Attribute |
getAttribute(java.lang.String attr)Gets the attribute associated this user. |
javax.naming.directory.Attributes |
getAttributes(java.lang.String[] attrlist)Gets the attributes associated this user. |
java.lang.String |
getDN()Return the User DN |
PropertySetCollection |
getExtendedProperties(ApplicationContext appCtx)Get the application properties. |
java.lang.String |
getGUID()Return the User GUID |
java.lang.String |
getPasswordHint()Get password hint for the user |
java.lang.String |
getPasswordHintAnswer()Get password hint answer for the user |
PropertySetCollection |
getProperties(java.lang.String[] attributes)Gets the user attributes and their respective values as user properties. |
Property |
getProperty(java.lang.String attr)Gets the user attribute and its associated values as an user property |
Configuration |
getProvisioningConfiguration() |
java.lang.String |
getProvisioningStatus(Application app)Get the Provisioning Status of this user for the given applciation. |
java.lang.String |
getProvisioningStatus(ApplicationContext appCtx)Deprecated. to be removed in the next label |
Application[] |
getUserApplications(java.lang.String provStatus)Get the application associated with the user for a given provisioning status. |
void |
modifyAttributes(int mod_op, javax.naming.directory.Attributes attrs)Modify user attributes. |
void |
modifyAttributes(ModPropertySet pset)Modify user attributes with the attributes in specified order. |
void |
resetPassword(java.lang.String hintanswer, Property[] otherValidationProps)Reset user password. |
void |
setExtendedProperties(ApplicationContext appCtx, ModPropertySet baseUserPset, ModPropertySet appUserPset)Set the application properties. |
void |
setLdapContext(javax.naming.ldap.LdapContext lCtx) |
void |
setPasswordHint(java.lang.String hint, java.lang.String answer)Set password hint question and its answer for the user. |
void |
setProvisioningConfiguration(Configuration cfg)Set the provisioining configuration object for this user |
void |
setProvisioningStatus(ApplicationContext appCtx, java.lang.String status, java.lang.String statusMsg)Deprecated. To be removed in the next label |
void |
setProvisioningStatus(Application app, java.lang.String status, java.lang.String statusMsg) |
boolean |
setTimeZone(java.lang.String timezone)Set time zone |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected User baseuser
| Constructor Detail |
|---|
public JndiUser(OIDContext oidctx,
User baseuser)
public JndiUser(java.lang.String dn,
java.lang.String orclGuid)
| Method Detail |
|---|
public java.lang.String getGUID()
throws UtilException
IdmUsergetGUID in interface IdmUserUtilException
public java.lang.String getDN()
throws UtilException
IdmUsergetDN in interface IdmUserUtilException
public Property getProperty(java.lang.String attr)
throws UtilException
IdmUsergetProperty in interface IdmUserattr - attribute nameUtilException - if no such attribute exists in user
public PropertySetCollection getProperties(java.lang.String[] attributes)
throws UtilException
IdmUsergetProperties in interface IdmUserattributes - array of attribute namesUtilException - if one or more attributes do not exist in user
public PropertySetCollection getAllProperties()
throws UtilException
IdmUsergetAllProperties in interface IdmUserUtilException - if all the properties could not be obtained.
public javax.naming.directory.Attribute getAttribute(java.lang.String attr)
throws UtilException
IdmUserIdmUser.getProperty(String)getAttribute in interface IdmUserattr - attribute nameUtilException - if no such attribute exists in user
public javax.naming.directory.Attributes getAttributes(java.lang.String[] attrlist)
throws UtilException
IdmUserIdmUser.getProperties(String[])getAttributes in interface IdmUserattrlist - array of attribute namesUtilException - if one or more attributes do not exist in user
public void modifyAttributes(int mod_op,
javax.naming.directory.Attributes attrs)
throws UtilException
IdmUsermodifyAttributes in interface IdmUsermod_op - the modification operation, one of: IdmUser.ADD_ATTRIBUTE, IdmUser.REPLACE_ATTRIBUTE, IdmUser.DELETE_ATTRIBUTEUtilException - if attributes couldn't be modified
public void modifyAttributes(ModPropertySet pset)
throws UtilException
IdmUsermodifyAttributes in interface IdmUserpset - set of attributes and values to be used in modification.UtilException - if attributes couldn't be modified
public void setExtendedProperties(ApplicationContext appCtx,
ModPropertySet baseUserPset,
ModPropertySet appUserPset)
throws UtilException
IdmUsersetExtendedProperties in interface IdmUserappCtx - ApplicationContext objectbaseUserPset - Base User atributes.appUserPset - App User attributes to be used in modification.UtilException
public void setProvisioningStatus(ApplicationContext appCtx,
java.lang.String status,
java.lang.String statusMsg)
throws UtilException
IdmUsersetProvisioningStatus in interface IdmUserappCtx - application Contextstatus - Users provisioing status Possible values are PROVISION_REQUIRED, PROVISION_NOT_REQUIRED, PROVISION_SUCCESS, PROVISION_FAILURE, PROVISION_IN_PROGRESS, DEPROVISION_REQUIRED, DEPROVISION_SUCCESS, DEPROVISION_FAILURE and DEPROVISION_IN_PROGRESSstatusMsg - Status Description messageUtilException
public void setProvisioningStatus(Application app,
java.lang.String status,
java.lang.String statusMsg)
throws UtilException
setProvisioningStatus in interface IdmUserUtilException
public PropertySetCollection getExtendedProperties(ApplicationContext appCtx)
throws UtilException
IdmUsergetExtendedProperties in interface IdmUserappCtx - ApplicationContext objectUtilException
public java.lang.String getProvisioningStatus(ApplicationContext appCtx)
throws UtilException
IdmUsergetProvisioningStatus in interface IdmUserappCtx - application objectUtilException
public java.lang.String getProvisioningStatus(Application app)
throws UtilException
IdmUsergetProvisioningStatus in interface IdmUserapp - application objectUtilException
public Application[] getUserApplications(java.lang.String provStatus)
throws UtilException
IdmUsergetUserApplications in interface IdmUserprovStatus - the provisioning statusUtilException - in case of an error
public void changeSSOPassword(java.lang.String oldPass,
java.lang.String newPass,
boolean verify)
throws UtilException
IdmUserchangeSSOPassword in interface IdmUseroldPass - current passwordnewPass - new passwordverify - whether current password verification is to be performedUtilException - if password change fails
public void setPasswordHint(java.lang.String hint,
java.lang.String answer)
throws UtilException
IdmUsersetPasswordHint in interface IdmUserhint - hint questionanswer - answer to hint questionUtilException - if operation fails
public java.lang.String getPasswordHint()
throws UtilException
IdmUsergetPasswordHint in interface IdmUserUtilException - if operation fails
public java.lang.String getPasswordHintAnswer()
throws UtilException
IdmUsergetPasswordHintAnswer in interface IdmUserUtilException - if operation fails
public boolean setTimeZone(java.lang.String timezone)
throws UtilException
IdmUsersetTimeZone in interface IdmUsertimezone - new time zone to be setUtilException - if operation fails
public void resetPassword(java.lang.String hintanswer,
Property[] otherValidationProps)
throws UtilException
IdmUserresetPassword in interface IdmUserhintanswer - answer to hint questionotherValidationProps - array of other required validation propertiesUtilException - if operation failspublic void setProvisioningConfiguration(Configuration cfg)
IdmUsersetProvisioningConfiguration in interface IdmUsercfg - Provisioning configuration object.public Configuration getProvisioningConfiguration()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setLdapContext(javax.naming.ldap.LdapContext lCtx)
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||