|
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.UserFactoryBuilder
public class UserFactoryBuilder
This class provides methods for creating UserFactory objects.
Method Summary | |
---|---|
static UserFactory |
createUserFactory(javax.naming.directory.DirContext dirCtx, Configuration prvCfg) Creates an instance of User factory object that uses an already created Configuration for the specified realm. |
static UserFactory |
createUserFactory(javax.naming.directory.DirContext dirCtx, java.util.Hashtable environment) This method creates instance of Default User factory object that uses the JNDI access method for the default realm |
static UserFactory |
createUserFactory(javax.naming.directory.DirContext dirCtx, java.lang.String realm) Creates an instance of Default User factory object for the specified realm |
static UserFactory |
createUserFactory(OIDContext ctxt, java.util.Hashtable environment) This method creates instance of class implementing UserFactory interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UserFactory createUserFactory(OIDContext ctxt, java.util.Hashtable environment) throws UtilException
ctxt
- instance of oidcontextenvironment
- environment properties usedUtilException
User#USER_INTERFACE
public static UserFactory createUserFactory(javax.naming.directory.DirContext dirCtx, java.util.Hashtable environment) throws UtilException
ctxt
- Directory contextenvironment
- environment properties usedUtilException
User#USER_INTERFACE
public static UserFactory createUserFactory(javax.naming.directory.DirContext dirCtx, java.lang.String realm) throws UtilException
dirCtx
- reference to a valid Ldap contextrealm
- for which user factory is getting createdUtilException
public static UserFactory createUserFactory(javax.naming.directory.DirContext dirCtx, Configuration prvCfg) throws UtilException
Configuration
for the specified realm.
Ex. LdapContext lCtx = ConnectionUtil.getDefaultDirCtx(host, port, bindDn, bindPass); Configuration cfg = new Congiguration("us"); .... ... UserFactory ufactory = UserFactoryBuilder(lCtx, cfg); ....
dirCtx
- reference to a valid Ldap contextprvCfg
- a Configuration
object that was alread y createdUtilException
|
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 |