Class DefaultPermissionProvider
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cfg.auth.DefaultPermissionProvider
-
- All Implemented Interfaces:
PermissionProvider
public class DefaultPermissionProvider extends 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 String
getNameForResource(int resourceType)
Gets the name of the resource with the resource typePermission
getPermissionForName(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(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 String getNameForResource(int resourceType)
Description copied from interface:PermissionProvider
Gets the name of the resource with the resource type- Specified by:
getNameForResource
in interfacePermissionProvider
-
-