org.camunda.bpm.engine.impl.cmd
Class AuthorizationCheckCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.AuthorizationCheckCmd
All Implemented Interfaces:
Command<Boolean>

public class AuthorizationCheckCmd
extends Object
implements Command<Boolean>

Command allowing to perform an authorization check

Author:
Daniel Meyer

Field Summary
protected  List<String> groupIds
           
protected  Permission permission
           
protected  Resource resource
           
protected  String resourceId
           
protected  String userId
           
 
Constructor Summary
AuthorizationCheckCmd(String userId, List<String> groupIds, Permission permission, Resource resource, String resourceId)
           
 
Method Summary
 Boolean execute(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userId

protected String userId

groupIds

protected List<String> groupIds

permission

protected Permission permission

resource

protected Resource resource

resourceId

protected String resourceId
Constructor Detail

AuthorizationCheckCmd

public AuthorizationCheckCmd(String userId,
                             List<String> groupIds,
                             Permission permission,
                             Resource resource,
                             String resourceId)
Method Detail

execute

public Boolean execute(CommandContext commandContext)
Specified by:
execute in interface Command<Boolean>


Copyright © 2016 camunda services GmbH. All rights reserved.