| Modifier and Type | Method and Description |
|---|---|
boolean |
Authorizer.addGroupsToResource(String resourceType,
String resourceName,
String action,
List<String> groups)
Allow given groups to access the givne resource.
|
abstract boolean |
DiscretionaryAccessController.addGroupsToResource(String resourceType,
String resourceName,
String action,
List<String> groups)
Allow given groups to access the given resource.
|
void |
Authorizer.addProtectedResource(String resourceType,
String resourceName,
boolean durable,
String owner)
Create auth resource.
|
abstract void |
DiscretionaryAccessController.addResource(String resourceType,
String resourceName,
String owner)
Create auth resource.
|
boolean |
AuthScopeStore.authorize(String authScopeName,
Set<String> userGroups)
Authorize user for given resource and action
|
boolean |
Authorizer.authorize(String scopeName,
String userId)
Authorize user with given scope key.
|
boolean |
Authorizer.authorize(String resourceType,
String resource,
String action,
String userId)
Authorize resource with given resource and action.
|
boolean |
DiscretionaryAccessController.authorize(String resourceType,
String resource,
String action,
String userId,
Set<String> userGroups)
Authorize resource with given resource and action.
|
boolean |
Authorizer.changeResourceOwner(String resourceType,
String resourceName,
String owner)
Create auth resource.
|
abstract boolean |
DiscretionaryAccessController.changeResourceOwner(String resourceType,
String resourceName,
String owner)
Create auth resource.
|
void |
Authorizer.deleteProtectedResource(String resourceType,
String resourceName)
Delete auth resource.
|
abstract boolean |
DiscretionaryAccessController.deleteResource(String resourceType,
String resourceName)
Delete auth resource.
|
AuthResource |
Authorizer.getAuthResource(String resourceType,
String resourceName)
Query auth resource.
|
abstract AuthResource |
DiscretionaryAccessController.getAuthResource(String resourceType,
String resourceName)
Get auth resource.
|
AuthScope |
AuthScopeStore.read(String authScopeName)
Read authScope for given scope key.
|
List<AuthScope> |
AuthScopeStore.readAll()
Read all authScopes.
|
boolean |
Authorizer.removeGroupFromResource(String resourceType,
String resourceName,
String action,
String group)
Revoke access from the given group.
|
abstract boolean |
DiscretionaryAccessController.removeGroupFromResource(String resourceType,
String resourceName,
String action,
String group)
Revoke access from the given group.
|
void |
AuthScopeStore.update(String authScopeName,
List<String> userGroups)
Update auth
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultAuthorizer.addGroupsToResource(String resourceType,
String resourceName,
String action,
List<String> groups) |
void |
DefaultAuthorizer.addProtectedResource(String resourceType,
String resourceName,
boolean durable,
String owner) |
boolean |
DefaultAuthorizer.authorize(String scopeName,
String userId) |
boolean |
DefaultAuthorizer.authorize(String resourceType,
String resourceName,
String action,
String userId) |
boolean |
DefaultAuthorizer.changeResourceOwner(String resourceType,
String resourceName,
String owner) |
void |
DefaultAuthorizer.deleteProtectedResource(String resourceType,
String resourceName) |
AuthResource |
DefaultAuthorizer.getAuthResource(String resourceType,
String resourceName) |
boolean |
DefaultAuthorizer.removeGroupFromResource(String resourceType,
String resourceName,
String action,
String group) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthResourceDao.addGroups(String resourceType,
String resourceName,
String action,
List<String> groups)
Add batch of group mapping to the given auth resource
|
boolean |
AuthResourceDao.delete(String resourceType,
String resource)
Delete resource from database on given given resource type and name and user groups.
|
boolean |
AuthResourceDao.isExists(String resourceType,
String resource)
Check resource existence for given resource type and name.
|
void |
AuthResourceDao.persist(AuthResource authResource)
Persist resource in the database
|
AuthResource |
AuthResourceDao.read(String resourceType,
String resource)
Get resource for given resource type and name.
|
List<AuthResource> |
AuthResourceDao.readAll(String resourceType,
String ownerId)
Get all resource for given resource type.
|
List<AuthResource> |
AuthResourceDao.readAll(String resourceType,
String action,
String ownerId,
List<String> userGroups)
Get all resource for given resource type.
|
boolean |
AuthResourceDao.removeGroup(String resourceType,
String resourceName,
String action,
String group)
Remove a group mapping from the given auth resource.
|
void |
AuthResourceDao.update(AuthResource authResource)
Update resource owner in the database
|
boolean |
AuthResourceDao.updateOwner(String resourceType,
String resourceName,
String newOwner)
Update owner of the given resource.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthResourceRdbmsDao.addGroups(String resourceType,
String resourceName,
String action,
List<String> groups) |
boolean |
AuthResourceRdbmsDao.delete(String resourceType,
String resource) |
boolean |
AuthResourceRdbmsDao.isExists(String resourceType,
String resource) |
void |
AuthResourceRdbmsDao.persist(AuthResource authResource) |
void |
AuthResourceInMemoryDao.persist(AuthResource authResource) |
AuthResource |
AuthResourceRdbmsDao.read(String resourceType,
String resourceName) |
List<AuthResource> |
AuthResourceRdbmsDao.readAll(String resourceType,
String ownerId) |
List<AuthResource> |
AuthResourceRdbmsDao.readAll(String resourceType,
String action,
String ownerId,
List<String> userGroups) |
boolean |
AuthResourceRdbmsDao.removeGroup(String resourceType,
String resourceName,
String action,
String group) |
void |
AuthResourceRdbmsDao.update(AuthResource authResource) |
boolean |
AuthResourceRdbmsDao.updateOwner(String resourceType,
String resourceName,
String newOwner) |
| Modifier and Type | Method and Description |
|---|---|
AuthScope |
AuthScopeStoreImpl.read(String authScopeName) |
List<AuthScope> |
AuthScopeStoreImpl.readAll() |
void |
AuthScopeStoreImpl.update(String authScopeName,
List<String> userGroups) |
| Modifier and Type | Method and Description |
|---|---|
abstract AuthScope |
AuthScopeDao.read(String scopeName)
Read scope for given scope name
|
abstract List<AuthScope> |
AuthScopeDao.readAll()
Read all scopes
|
abstract void |
AuthScopeDao.update(String scopeName,
List<String> userGroups)
Persist scope key in the database
|
| Modifier and Type | Method and Description |
|---|---|
AuthScope |
AuthScopeRdbmsDao.read(String scopeName) |
List<AuthScope> |
AuthScopeRdbmsDao.readAll() |
void |
AuthScopeRdbmsDao.update(String scopeName,
List<String> userGroups) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RdbmsDacHandler.addGroupsToResource(String resourceType,
String resourceName,
String action,
List<String> groups) |
boolean |
MemoryDacHandler.addGroupsToResource(String resourceType,
String resourceName,
String action,
List<String> groups) |
void |
RdbmsDacHandler.addResource(String resourceType,
String resourceName,
String owner) |
void |
MemoryDacHandler.addResource(String resourceType,
String resourceName,
String owner) |
boolean |
RdbmsDacHandler.changeResourceOwner(String resourceType,
String resourceName,
String newOwner) |
boolean |
MemoryDacHandler.changeResourceOwner(String resourceType,
String resourceName,
String owner) |
boolean |
RdbmsDacHandler.deleteResource(String resourceType,
String resourceName) |
boolean |
MemoryDacHandler.deleteResource(String resourceType,
String resourceName) |
AuthResource |
MemoryDacHandler.getAuthResource(String resourceType,
String resourceName) |
boolean |
RdbmsDacHandler.removeGroupFromResource(String resourceType,
String resourceName,
String action,
String group) |
boolean |
MemoryDacHandler.removeGroupFromResource(String resourceType,
String resourceName,
String action,
String group) |
Copyright © 2018 WSO2. All rights reserved.