Interface ClientPermissionManagement
-
public interface ClientPermissionManagement
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIGURE_SCOPE
static String
MAP_ROLES_CLIENT_SCOPE
static String
MAP_ROLES_COMPOSITE_SCOPE
static String
MAP_ROLES_SCOPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canExchangeTo(ClientModel authorizedClient, ClientModel to)
Policy
configurePermission(ClientModel client)
Policy
exchangeToPermission(ClientModel client)
Map<String,String>
getPermissions(ClientModel client)
boolean
isPermissionsEnabled(ClientModel client)
Policy
managePermission(ClientModel client)
Policy
mapRolesClientScopePermission(ClientModel client)
Policy
mapRolesCompositePermission(ClientModel client)
Policy
mapRolesPermission(ClientModel client)
Resource
resource(ClientModel client)
ResourceServer
resourceServer(ClientModel client)
void
setPermissionsEnabled(ClientModel client, boolean enable)
Policy
viewPermission(ClientModel client)
-
-
-
Field Detail
-
MAP_ROLES_SCOPE
static final String MAP_ROLES_SCOPE
- See Also:
- Constant Field Values
-
MAP_ROLES_CLIENT_SCOPE
static final String MAP_ROLES_CLIENT_SCOPE
- See Also:
- Constant Field Values
-
MAP_ROLES_COMPOSITE_SCOPE
static final String MAP_ROLES_COMPOSITE_SCOPE
- See Also:
- Constant Field Values
-
CONFIGURE_SCOPE
static final String CONFIGURE_SCOPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isPermissionsEnabled
boolean isPermissionsEnabled(ClientModel client)
-
setPermissionsEnabled
void setPermissionsEnabled(ClientModel client, boolean enable)
-
resource
Resource resource(ClientModel client)
-
getPermissions
Map<String,String> getPermissions(ClientModel client)
-
canExchangeTo
boolean canExchangeTo(ClientModel authorizedClient, ClientModel to)
-
exchangeToPermission
Policy exchangeToPermission(ClientModel client)
-
mapRolesPermission
Policy mapRolesPermission(ClientModel client)
-
mapRolesClientScopePermission
Policy mapRolesClientScopePermission(ClientModel client)
-
mapRolesCompositePermission
Policy mapRolesCompositePermission(ClientModel client)
-
managePermission
Policy managePermission(ClientModel client)
-
configurePermission
Policy configurePermission(ClientModel client)
-
viewPermission
Policy viewPermission(ClientModel client)
-
resourceServer
ResourceServer resourceServer(ClientModel client)
-
-