|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.registry.jdbc.realm.pathbased.PathBasedRegistryRealm
public class PathBasedRegistryRealm
Registry stores authorizations for resources against the UUID of the resource. This makes it flexible to rename, move, copy, etc resources without rewritting all the authorizations. But for the users of the Registry and User Manager APIs, UUIDs don't make much sense. API users always refer to the resources using the path. Therefore, this class and its authorizer and access control admin classes, convert the given path to the UUID and checks the authorizations. Thus, users of this class can only deal with the resource paths.
| Constructor Summary | |
|---|---|
PathBasedRegistryRealm(UserRealm userRealm,
javax.sql.DataSource dataSource)
|
|
| 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 |
| Constructor Detail |
|---|
public PathBasedRegistryRealm(UserRealm userRealm,
javax.sql.DataSource dataSource)
throws RegistryException
RegistryException| Method Detail |
|---|
public Authorizer getAuthorizer()
throws UserStoreException
UserRealm
getAuthorizer in interface UserRealmUserStoreException
public AccessControlAdmin getAccessControlAdmin()
throws UserStoreException
UserRealm
getAccessControlAdmin in interface UserRealmUserStoreException
public java.lang.Object getRealmConfiguration()
throws UserStoreException
UserRealm
getRealmConfiguration in interface UserRealmUserStoreException
public void init(java.lang.Object configBean)
throws UserStoreException
UserRealm
init in interface UserRealmUserStoreException
public org.wso2.authenticator.Authenticator getAuthenticator()
throws UserStoreException
UserRealm
getAuthenticator in interface UserRealmUserStoreException
public UserStoreReader getUserStoreReader()
throws UserStoreException
UserRealm
getUserStoreReader in interface UserRealmUserStoreException
public UserStoreAdmin getUserStoreAdmin()
throws UserStoreException
UserRealm
getUserStoreAdmin in interface UserRealmUserStoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||