Class DefaultPermissionProvider
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.auth.DefaultPermissionProvider
-
- All Implemented Interfaces:
PermissionProvider
public class DefaultPermissionProvider extends java.lang.Object implements PermissionProvider
Default implementation ofPermissionProvider
- Author:
- Yana.Vasileva, Tobias Metzke
-
-
Constructor Summary
Constructors Constructor Description DefaultPermissionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNameForResource(int resourceType)
Gets the name of the resource with the resource typePermission
getPermissionForName(java.lang.String name, int resourceType)
Gets the permission related to the name and resource typePermission[]
getPermissionsForResource(int resourceType)
Gets all permissions possible for the resource type
-
-
-
Method Detail
-
getPermissionForName
public Permission getPermissionForName(java.lang.String name, int resourceType)
Description copied from interface:PermissionProvider
Gets the permission related to the name and resource type- Specified by:
getPermissionForName
in interfacePermissionProvider
-
getPermissionsForResource
public Permission[] getPermissionsForResource(int resourceType)
Description copied from interface:PermissionProvider
Gets all permissions possible for the resource type- Specified by:
getPermissionsForResource
in interfacePermissionProvider
-
getNameForResource
public java.lang.String getNameForResource(int resourceType)
Description copied from interface:PermissionProvider
Gets the name of the resource with the resource type- Specified by:
getNameForResource
in interfacePermissionProvider
-
-