Package org.camunda.bpm.engine.impl.util
Class PermissionConverter
java.lang.Object
org.camunda.bpm.engine.impl.util.PermissionConverter
Converts between the String-Array based and the Integer-based representation of permissions.
- Author:
- Daniel Meyer, Tobias Metzke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
getNamesForPermissions
(Authorization authorization, Permission[] permissions) static Permission[]
getPermissionsForNames
(String[] names, int resourceType, ProcessEngineConfiguration engineConfiguration)
-
Constructor Details
-
PermissionConverter
public PermissionConverter()
-
-
Method Details
-
getPermissionsForNames
public static Permission[] getPermissionsForNames(String[] names, int resourceType, ProcessEngineConfiguration engineConfiguration) -
getNamesForPermissions
public static String[] getNamesForPermissions(Authorization authorization, Permission[] permissions)
-