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 java.util.List<java.lang.String>
groupIds
protected static EnginePersistenceLogger
LOG
protected Permission
permission
protected Resource
resource
protected java.lang.String
resourceId
protected java.lang.String
userId
-
Constructor Summary
Constructors Constructor Description AuthorizationCheckCmd(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource, java.lang.String resourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
execute(CommandContext commandContext)
protected boolean
isHistoricInstancePermissionsDisabled(CommandContext commandContext)
protected boolean
isHistoricInstanceResource()
protected void
validate(java.lang.String userId, java.util.List<java.lang.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 java.lang.String userId
-
groupIds
protected java.util.List<java.lang.String> groupIds
-
permission
protected Permission permission
-
resource
protected Resource resource
-
resourceId
protected java.lang.String resourceId
-
-
Constructor Detail
-
AuthorizationCheckCmd
public AuthorizationCheckCmd(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource, java.lang.String resourceId)
-
-
Method Detail
-
execute
public java.lang.Boolean execute(CommandContext commandContext)
-
validate
protected void validate(java.lang.String userId, java.util.List<java.lang.String> groupIds, Permission permission, Resource resource)
-
isHistoricInstancePermissionsDisabled
protected boolean isHistoricInstancePermissionsDisabled(CommandContext commandContext)
-
isHistoricInstanceResource
protected boolean isHistoricInstanceResource()
-
-