Interface RolePermissionManagement
-
public interface RolePermissionManagement
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static String
MAP_ROLE_CLIENT_SCOPE_SCOPE
static String
MAP_ROLE_COMPOSITE_SCOPE
static String
MAP_ROLE_SCOPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
getPermissions(RoleModel role)
boolean
isPermissionsEnabled(RoleModel role)
Policy
manageUsersPolicy(ResourceServer server)
Policy
mapClientScopePermission(RoleModel role)
Policy
mapCompositePermission(RoleModel role)
Policy
mapRolePermission(RoleModel role)
Resource
resource(RoleModel role)
ResourceServer
resourceServer(RoleModel role)
Policy
rolePolicy(ResourceServer server, RoleModel role)
void
setPermissionsEnabled(RoleModel role, boolean enable)
Policy
viewUsersPolicy(ResourceServer server)
-
-
-
Field Detail
-
MAP_ROLE_SCOPE
static final String MAP_ROLE_SCOPE
- See Also:
- Constant Field Values
-
MAP_ROLE_CLIENT_SCOPE_SCOPE
static final String MAP_ROLE_CLIENT_SCOPE_SCOPE
- See Also:
- Constant Field Values
-
MAP_ROLE_COMPOSITE_SCOPE
static final String MAP_ROLE_COMPOSITE_SCOPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isPermissionsEnabled
boolean isPermissionsEnabled(RoleModel role)
-
setPermissionsEnabled
void setPermissionsEnabled(RoleModel role, boolean enable)
-
resourceServer
ResourceServer resourceServer(RoleModel role)
-
manageUsersPolicy
Policy manageUsersPolicy(ResourceServer server)
-
viewUsersPolicy
Policy viewUsersPolicy(ResourceServer server)
-
rolePolicy
Policy rolePolicy(ResourceServer server, RoleModel role)
-
-