org.wso2.registry.jdbc.realm
Class RegistryRealm

java.lang.Object
  extended by org.wso2.registry.users.def.DefaultRealm
      extended by org.wso2.registry.jdbc.realm.RegistryRealm
All Implemented Interfaces:
UserRealm
Direct Known Subclasses:
InMemoryRegistryRealm

public class RegistryRealm
extends DefaultRealm


Field Summary
 
Fields inherited from class org.wso2.registry.users.def.DefaultRealm
aclAdmin, authenticator, authorizer, config, dataSource, driver, usAdmin, usReader
 
Constructor Summary
protected RegistryRealm()
           
  RegistryRealm(javax.sql.DataSource dataSource)
           
 
Method Summary
protected  void configure(javax.sql.DataSource dataSource)
           
 AccessControlAdmin getAccessControlAdmin()
          The returned object can manipulate access controls
 UserStoreAdmin getUserStoreAdmin()
          The returned object can manipulate the user store
 
Methods inherited from class org.wso2.registry.users.def.DefaultRealm
getAuthenticator, getAuthorizer, getDataSource, getRealmConfiguration, getUserStoreReader, init, setDataSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryRealm

public RegistryRealm(javax.sql.DataSource dataSource)
              throws RegistryException
Throws:
RegistryException

RegistryRealm

protected RegistryRealm()
                 throws RegistryException
Throws:
RegistryException
Method Detail

configure

protected void configure(javax.sql.DataSource dataSource)
                  throws RegistryException
Throws:
RegistryException

getUserStoreAdmin

public UserStoreAdmin getUserStoreAdmin()
                                 throws UserStoreException
Description copied from interface: UserRealm
The returned object can manipulate the user store

Specified by:
getUserStoreAdmin in interface UserRealm
Overrides:
getUserStoreAdmin in class DefaultRealm
Throws:
UserStoreException

getAccessControlAdmin

public AccessControlAdmin getAccessControlAdmin()
                                         throws UserStoreException
Description copied from interface: UserRealm
The returned object can manipulate access controls

Specified by:
getAccessControlAdmin in interface UserRealm
Overrides:
getAccessControlAdmin in class DefaultRealm
Throws:
UserStoreException


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