org.wso2.registry.users.def
Interface DefaultDataSupplier

All Known Implementing Classes:
DefaultDataSupplierImpl

public interface DefaultDataSupplier

Method in this class dominate how the DefaultRealm behaves. This enables different types of Realms to be written. For example users can be pulled out from tables with different names. Sample implementation is WSASRealm. Thrives to achieve loose coupling.


Method Summary
 java.lang.String getAccessControlAdminSQL(int sqlID)
          Retrieves the Access Control Admin SQL
 java.lang.String getAuthenticatorSQL(int sqlID)
          Retrieves the authentication SQL
 java.lang.String getAuthorizerSQL(int sqlID)
          Retrieves the Authorizer SQL
 java.lang.String getColumnName(int columnID)
          Retrives the column name given the column Id
 java.lang.String[] getUserRoles(java.lang.String userName)
          Retrieves the User Roles
 java.lang.String getUserStoreAdminSQL(int sqlID)
          Retrieves the SQL to perform User Store administration.
 java.lang.String getUserStoreReaderSQL(int sqlID)
          Retrieves the User Store Reader SQL
 

Method Detail

getColumnName

java.lang.String getColumnName(int columnID)
Retrives the column name given the column Id


getAuthenticatorSQL

java.lang.String getAuthenticatorSQL(int sqlID)
Retrieves the authentication SQL


getUserStoreAdminSQL

java.lang.String getUserStoreAdminSQL(int sqlID)
Retrieves the SQL to perform User Store administration.


getAccessControlAdminSQL

java.lang.String getAccessControlAdminSQL(int sqlID)
Retrieves the Access Control Admin SQL


getAuthorizerSQL

java.lang.String getAuthorizerSQL(int sqlID)
Retrieves the Authorizer SQL


getUserStoreReaderSQL

java.lang.String getUserStoreReaderSQL(int sqlID)
Retrieves the User Store Reader SQL


getUserRoles

java.lang.String[] getUserRoles(java.lang.String userName)
                                throws UserStoreException
Retrieves the User Roles

Throws:
UserStoreException


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