|
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
IdmUser
getGUID
in interface IdmUser
UtilException
public java.lang.String getDN() throws UtilException
IdmUser
getDN
in interface IdmUser
UtilException
public Property getProperty(java.lang.String attr) throws UtilException
IdmUser
getProperty
in interface IdmUser
attr
- attribute nameUtilException
- if no such attribute exists in userpublic PropertySetCollection getProperties(java.lang.String[] attributes) throws UtilException
IdmUser
getProperties
in interface IdmUser
attributes
- array of attribute namesUtilException
- if one or more attributes do not exist in userpublic PropertySetCollection getAllProperties() throws UtilException
IdmUser
getAllProperties
in interface IdmUser
UtilException
- if all the properties could not be obtained.public javax.naming.directory.Attribute getAttribute(java.lang.String attr) throws UtilException
IdmUser
IdmUser.getProperty(String)
getAttribute
in interface IdmUser
attr
- attribute nameUtilException
- if no such attribute exists in userpublic javax.naming.directory.Attributes getAttributes(java.lang.String[] attrlist) throws UtilException
IdmUser
IdmUser.getProperties(String[])
getAttributes
in interface IdmUser
attrlist
- array of attribute namesUtilException
- if one or more attributes do not exist in userpublic void modifyAttributes(int mod_op, javax.naming.directory.Attributes attrs) throws UtilException
IdmUser
modifyAttributes
in interface IdmUser
mod_op
- the modification operation, one of: IdmUser.ADD_ATTRIBUTE
, IdmUser.REPLACE_ATTRIBUTE
, IdmUser.DELETE_ATTRIBUTE
UtilException
- if attributes couldn't be modifiedpublic void modifyAttributes(ModPropertySet pset) throws UtilException
IdmUser
modifyAttributes
in interface IdmUser
pset
- set of attributes and values to be used in modification.UtilException
- if attributes couldn't be modifiedpublic void setExtendedProperties(ApplicationContext appCtx, ModPropertySet baseUserPset, ModPropertySet appUserPset) throws UtilException
IdmUser
setExtendedProperties
in interface IdmUser
appCtx
- 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
IdmUser
setProvisioningStatus
in interface IdmUser
appCtx
- 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 IdmUser
UtilException
public PropertySetCollection getExtendedProperties(ApplicationContext appCtx) throws UtilException
IdmUser
getExtendedProperties
in interface IdmUser
appCtx
- ApplicationContext objectUtilException
public java.lang.String getProvisioningStatus(ApplicationContext appCtx) throws UtilException
IdmUser
getProvisioningStatus
in interface IdmUser
appCtx
- application objectUtilException
public java.lang.String getProvisioningStatus(Application app) throws UtilException
IdmUser
getProvisioningStatus
in interface IdmUser
app
- application objectUtilException
public Application[] getUserApplications(java.lang.String provStatus) throws UtilException
IdmUser
getUserApplications
in interface IdmUser
provStatus
- the provisioning statusUtilException
- in case of an errorpublic void changeSSOPassword(java.lang.String oldPass, java.lang.String newPass, boolean verify) throws UtilException
IdmUser
changeSSOPassword
in interface IdmUser
oldPass
- current passwordnewPass
- new passwordverify
- whether current password verification is to be performedUtilException
- if password change failspublic void setPasswordHint(java.lang.String hint, java.lang.String answer) throws UtilException
IdmUser
setPasswordHint
in interface IdmUser
hint
- hint questionanswer
- answer to hint questionUtilException
- if operation failspublic java.lang.String getPasswordHint() throws UtilException
IdmUser
getPasswordHint
in interface IdmUser
UtilException
- if operation failspublic java.lang.String getPasswordHintAnswer() throws UtilException
IdmUser
getPasswordHintAnswer
in interface IdmUser
UtilException
- if operation failspublic boolean setTimeZone(java.lang.String timezone) throws UtilException
IdmUser
setTimeZone
in interface IdmUser
timezone
- new time zone to be setUtilException
- if operation failspublic void resetPassword(java.lang.String hintanswer, Property[] otherValidationProps) throws UtilException
IdmUser
resetPassword
in interface IdmUser
hintanswer
- answer to hint questionotherValidationProps
- array of other required validation propertiesUtilException
- if operation failspublic void setProvisioningConfiguration(Configuration cfg)
IdmUser
setProvisioningConfiguration
in interface IdmUser
cfg
- Provisioning configuration object.public Configuration getProvisioningConfiguration()
public java.lang.String toString()
toString
in class java.lang.Object
public 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 |