|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.registry.users.def.DefaultRealm
public class DefaultRealm
DefaultRealm is used by developers when the need to maintain users from scratch. org.wso2.usermanager.Realm
Field Summary | |
---|---|
protected DefaultAccessControlAdmin |
aclAdmin
|
protected DefaultAuthenticator |
authenticator
|
protected DefaultAuthorizer |
authorizer
|
protected DefaultRealmConfig |
config
|
protected javax.sql.DataSource |
dataSource
|
protected java.sql.Driver |
driver
|
protected DefaultUserStoreAdmin |
usAdmin
|
protected DefaultUserStoreReader |
usReader
|
Constructor Summary | |
---|---|
DefaultRealm()
|
Method Summary | |
---|---|
AccessControlAdmin |
getAccessControlAdmin()
The returned object can manipulate access controls |
org.wso2.authenticator.Authenticator |
getAuthenticator()
The returned object can perform authentication checks |
Authorizer |
getAuthorizer()
The returned object can perform authorization checks |
javax.sql.DataSource |
getDataSource()
|
java.lang.Object |
getRealmConfiguration()
Returns the realm configuration bean. |
UserStoreAdmin |
getUserStoreAdmin()
The returned object can manipulate the user store |
UserStoreReader |
getUserStoreReader()
The returned object can read data from user store |
void |
init(java.lang.Object configBean)
Initializes the realm using the properties from the configuration bean passed in. |
void |
setDataSource(javax.sql.DataSource dataSource)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DefaultRealmConfig config
protected java.sql.Driver driver
protected DefaultAuthenticator authenticator
protected DefaultAuthorizer authorizer
protected DefaultAccessControlAdmin aclAdmin
protected DefaultUserStoreAdmin usAdmin
protected DefaultUserStoreReader usReader
protected javax.sql.DataSource dataSource
Constructor Detail |
---|
public DefaultRealm()
Method Detail |
---|
public java.lang.Object getRealmConfiguration() throws UserStoreException
UserRealm
getRealmConfiguration
in interface UserRealm
UserStoreException
public void init(java.lang.Object configBean) throws UserStoreException
init
in interface UserRealm
UserStoreException
public AccessControlAdmin getAccessControlAdmin() throws UserStoreException
UserRealm
getAccessControlAdmin
in interface UserRealm
UserStoreException
public org.wso2.authenticator.Authenticator getAuthenticator() throws UserStoreException
UserRealm
getAuthenticator
in interface UserRealm
UserStoreException
public Authorizer getAuthorizer() throws UserStoreException
UserRealm
getAuthorizer
in interface UserRealm
UserStoreException
public UserStoreAdmin getUserStoreAdmin() throws UserStoreException
UserRealm
getUserStoreAdmin
in interface UserRealm
UserStoreException
public UserStoreReader getUserStoreReader() throws UserStoreException
UserRealm
getUserStoreReader
in interface UserRealm
UserStoreException
public javax.sql.DataSource getDataSource()
public void setDataSource(javax.sql.DataSource dataSource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |