org.wso2.registry.servlet
Class RegistryRealmFactory

java.lang.Object
  extended by org.wso2.registry.servlet.RegistryRealmFactory

public class RegistryRealmFactory
extends java.lang.Object


Constructor Summary
RegistryRealmFactory()
           
 
Method Summary
static UserRealm createDataSourceAwareRegistryRealm(java.lang.String dataSourceName)
           
static UserRealm createInMemoryRegistryRealm()
           
static UserRealm createRegistryRealm(javax.servlet.ServletConfig config)
           
static UserRealm createURLBasedRegistryRealm(java.lang.String dbURL, java.lang.String driverName, java.lang.String userName, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryRealmFactory

public RegistryRealmFactory()
Method Detail

createRegistryRealm

public static UserRealm createRegistryRealm(javax.servlet.ServletConfig config)
                                     throws RegistryException
Throws:
RegistryException

createInMemoryRegistryRealm

public static UserRealm createInMemoryRegistryRealm()
                                             throws RegistryException
Throws:
RegistryException

createURLBasedRegistryRealm

public static UserRealm createURLBasedRegistryRealm(java.lang.String dbURL,
                                                    java.lang.String driverName,
                                                    java.lang.String userName,
                                                    java.lang.String password)
                                             throws RegistryException
Throws:
RegistryException

createDataSourceAwareRegistryRealm

public static UserRealm createDataSourceAwareRegistryRealm(java.lang.String dataSourceName)
                                                    throws RegistryException
Throws:
RegistryException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.