|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.idm.user.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.lang.String realm)Creates an instance of Default User factory object for the specified realm |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
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 10g(10.1.2) B14083-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||