Skip navigation links

Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14658-01


oracle.security.idm
Class IdentityStoreFactoryBuilder

java.lang.Object
  extended by oracle.security.idm.IdentityStoreFactoryBuilder


public class IdentityStoreFactoryBuilder
extends java.lang.Object

Class that builds the identity store factory.

Since:
10.1.3

Constructor Summary
IdentityStoreFactoryBuilder()
           

 

Method Summary
 IdentityStoreFactory getIdentityStoreFactory()
          Get the IdentityStoreFactory instance for the service provider.
 IdentityStoreFactory getIdentityStoreFactory(java.lang.String classname)
          Get the IdentityStoreFactory instance for the service provider.
 IdentityStoreFactory getIdentityStoreFactory(java.lang.String classname, java.util.Hashtable configProps)
          Get the IdentityStoreFactory instance for the service provider.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

IdentityStoreFactoryBuilder

public IdentityStoreFactoryBuilder()

Method Detail

getIdentityStoreFactory

public IdentityStoreFactory getIdentityStoreFactory()
                                             throws IMException
Get the IdentityStoreFactory instance for the service provider. This method reads the file "userrole.properties" and uses its contents for determining the user/role api configuration information. The configuration information includes the provider class name and environment properties required for creating the Factory and Store instances. This configuration information is then used to create Factory and Store instances. The absolute path of file "userrole.properties" is passed as value of java system property "oracle.userrole.properties". This property should be set before calling this method.
Returns:
instance of class implementing IdentityStoreFactory interface for service provider
Throws:
ConfigurationException - Thrown by the service provider if configuration parameters for the factory are incorrect.
IMException - Thrown by the service provider in case of any other problem.

getIdentityStoreFactory

public IdentityStoreFactory getIdentityStoreFactory(java.lang.String classname,
                                                    java.util.Hashtable configProps)
                                             throws IMException
Get the IdentityStoreFactory instance for the service provider. This method assumes that class implementing the IdentityStoreFactory interface has a constructor accepting a java.util.Map object as argument
Parameters:
classname - name of the class implementing the IdentityStoreFactory interface for the service provider
configProps - Hashtable consisting of any configuration properties
Returns:
instance of class implementing IdentityStoreFactory interface for service provider
Throws:
ConfigurationException - Thrown by the service provider if configuration parameters for the factory are incorrect.
IMException - Thrown by the service provider in case of any other problem.

getIdentityStoreFactory

public IdentityStoreFactory getIdentityStoreFactory(java.lang.String classname)
                                             throws IMException
Get the IdentityStoreFactory instance for the service provider. This method assumes that class implementing the IdentityStoreFactory interface has a default constructor(ie. constructore that takes no arguments).
Parameters:
classname - name of the class implementing the IdentityStoreFactory interface for the service provider
Returns:
instance of class implementing IdentityStoreFactory interface for service provider
Throws:
ConfigurationException - Thrown by the service provider if configuration parameters for the factory are incorrect.
IMException - Thrown by the service provider in case of any other problem.

Skip navigation links

Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14658-01


Copyright © 2005, 2009, Oracle. All rights reserved.