|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.registry.users.accesscontrol.AuthorizingRealm
public class AuthorizingRealm
ACL aware Realm. Contains an authorized user and a realm. Always checks whether an user is authorized to perform an action before actually executing the action.
org.wso2.usermanager.Realm
Field Summary | |
---|---|
protected AccessControlAdmin |
aclAdmin
|
protected org.wso2.authenticator.Authenticator |
authenticator
|
protected Authorizer |
authorizer
|
protected UserRealm |
realm
|
protected UserStoreAdmin |
usAdmin
|
protected java.lang.String |
username
|
protected UserStoreReader |
usReader
|
Constructor Summary | |
---|---|
AuthorizingRealm()
|
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String username
protected UserRealm realm
protected org.wso2.authenticator.Authenticator authenticator
protected Authorizer authorizer
protected AccessControlAdmin aclAdmin
protected UserStoreAdmin usAdmin
protected UserStoreReader usReader
Constructor Detail |
---|
public AuthorizingRealm()
Method Detail |
---|
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 java.lang.Object getRealmConfiguration() throws UserStoreException
UserRealm
getRealmConfiguration
in interface UserRealm
UserStoreException
public void init(java.lang.Object configBean) throws UserStoreException
UserRealm
init
in interface UserRealm
UserStoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |