Modifier and Type | Field and Description |
---|---|
protected List<String> |
groupIds |
protected static EnginePersistenceLogger |
LOG |
protected Permission |
permission |
protected Resource |
resource |
protected String |
resourceId |
protected String |
userId |
Constructor and Description |
---|
AuthorizationCheckCmd(String userId,
List<String> groupIds,
Permission permission,
Resource resource,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
Boolean |
execute(CommandContext commandContext) |
protected void |
validate(String userId,
List<String> groupIds,
Permission permission,
Resource resource) |
protected static final EnginePersistenceLogger LOG
protected String userId
protected Permission permission
protected Resource resource
protected String resourceId
public Boolean execute(CommandContext commandContext)
protected void validate(String userId, List<String> groupIds, Permission permission, Resource resource)
Copyright © 2019. All rights reserved.