|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.registry.users.accesscontrol.ACLUserStoreReader
public class ACLUserStoreReader
org.wso2.usermanager.UserStoreReader| Field Summary | |
|---|---|
protected AuthorizingRealmConfig |
config
|
protected boolean |
isAdmin
|
| Constructor Summary | |
|---|---|
ACLUserStoreReader(Authorizer athzr,
UserStoreReader reader,
AuthorizingRealmConfig authConfig)
|
|
| Method Summary | |
|---|---|
protected void |
doAuthorizationToReadRole()
|
protected void |
doAuthorizationToReadUser()
|
java.lang.String[] |
getAllRoleNames()
Retrieves all role names |
java.lang.String[] |
getAllUserNames()
Retrieves all user names |
java.util.Map |
getRoleProperties(java.lang.String roleName)
Retrieves role properties given the role name |
java.lang.String[] |
getUserNamesWithPropertyValue(java.lang.String propertyName,
java.lang.String propetyValue)
Retrieves user names with the given property values |
java.util.Map |
getUserProperties(java.lang.String userName)
Retrieves user properties given the user name |
java.lang.String[] |
getUserPropertyNames()
Retrieves user properties given the user name |
java.lang.String[] |
getUserRoles(java.lang.String userName)
Gets all user roles |
java.lang.String[] |
getUsersInRole(java.lang.String roleName)
Retrieves users in a role |
boolean |
isExistingRole(java.lang.String roleName)
Checks whether a role exist in the user store |
boolean |
isExistingUser(java.lang.String userName)
Checks whether an user exist in the user store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AuthorizingRealmConfig config
protected boolean isAdmin
| Constructor Detail |
|---|
public ACLUserStoreReader(Authorizer athzr,
UserStoreReader reader,
AuthorizingRealmConfig authConfig)
| Method Detail |
|---|
public java.lang.String[] getAllUserNames()
throws UserStoreException
UserStoreReader
getAllUserNames in interface UserStoreReaderUserStoreException
public java.lang.String[] getUserNamesWithPropertyValue(java.lang.String propertyName,
java.lang.String propetyValue)
throws UserStoreException
UserStoreReader
getUserNamesWithPropertyValue in interface UserStoreReaderUserStoreException
public java.util.Map getUserProperties(java.lang.String userName)
throws UserStoreException
UserStoreReader
getUserProperties in interface UserStoreReaderUserStoreException
public java.lang.String[] getUserPropertyNames()
throws UserStoreException
UserStoreReader
getUserPropertyNames in interface UserStoreReaderUserStoreException
public boolean isExistingUser(java.lang.String userName)
throws UserStoreException
UserStoreReader
isExistingUser in interface UserStoreReaderuserName - TODO
UserStoreException
public boolean isExistingRole(java.lang.String roleName)
throws UserStoreException
UserStoreReader
isExistingRole in interface UserStoreReaderroleName - RoleName
UserStoreException
public java.lang.String[] getAllRoleNames()
throws UserStoreException
UserStoreReader
getAllRoleNames in interface UserStoreReaderUserStoreException
public java.util.Map getRoleProperties(java.lang.String roleName)
throws UserStoreException
UserStoreReader
getRoleProperties in interface UserStoreReaderUserStoreException
public java.lang.String[] getUserRoles(java.lang.String userName)
throws UserStoreException
UserStoreReader
getUserRoles in interface UserStoreReaderUserStoreException
public java.lang.String[] getUsersInRole(java.lang.String roleName)
throws UserStoreException
UserStoreReader
getUsersInRole in interface UserStoreReaderUserStoreException
protected void doAuthorizationToReadRole()
throws UserStoreException
UserStoreException
protected void doAuthorizationToReadUser()
throws UserStoreException
UserStoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||