Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


oracle.idm.user
Class UserFactoryBuilder

java.lang.Object
  extended byoracle.idm.user.UserFactoryBuilder


public class UserFactoryBuilder
extends java.lang.Object

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

createUserFactory

public static UserFactory createUserFactory(javax.naming.directory.DirContext dirCtx,
                                            java.lang.String realm)
                                     throws UtilException
Creates an instance of Default User factory object for the specified realm
Parameters:
dirCtx - reference to a valid Ldap context
realm - for which user factory is getting created
Returns:
an Instance of class implementing UserFactory interface
Throws:
UtilException

createUserFactory

public static UserFactory createUserFactory(javax.naming.directory.DirContext dirCtx,
                                            Configuration prvCfg)
                                     throws UtilException
Creates an instance of User factory object that uses an already created Configuration for the specified realm.
  Ex.
         LdapContext lCtx = ConnectionUtil.getDefaultDirCtx(host,
                             port, bindDn, bindPass);
         Configuration cfg = new Congiguration("us");
         ....
         ...
         UserFactory ufactory = UserFactoryBuilder(lCtx, cfg);
         ....

  
Parameters:
dirCtx - reference to a valid Ldap context
prvCfg - a Configuration object that was alread y created
Returns:
an Instance of class implementing UserFactory interface
Throws:
UtilException

Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


Copyright © 1999, 2006 Oracle. All Rights Reserved.