Package org.camunda.bpm.engine.impl.cmd
Class AuthorizationCheckCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AuthorizationCheckCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
groupIds
protected static EnginePersistenceLogger
LOG
protected Permission
permission
protected Resource
resource
protected String
resourceId
protected String
userId
-
Constructor Summary
Constructors Constructor Description AuthorizationCheckCmd(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
execute(CommandContext commandContext)
protected boolean
isHistoricInstancePermissionsDisabled(CommandContext commandContext)
protected boolean
isHistoricInstanceResource()
protected void
validate(String userId, List<String> groupIds, Permission permission, Resource resource)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
LOG
protected static final EnginePersistenceLogger LOG
-
userId
protected String userId
-
permission
protected Permission permission
-
resource
protected Resource resource
-
resourceId
protected String resourceId
-
-
Method Detail
-
execute
public Boolean execute(CommandContext commandContext)
-
validate
protected void validate(String userId, List<String> groupIds, Permission permission, Resource resource)
-
isHistoricInstancePermissionsDisabled
protected boolean isHistoricInstancePermissionsDisabled(CommandContext commandContext)
-
isHistoricInstanceResource
protected boolean isHistoricInstanceResource()
-
-