public class PermissionResolver extends Object
Constructor and Description |
---|
PermissionResolver(List<PermissionVoter> voters) |
Modifier and Type | Method and Description |
---|---|
boolean |
resolvePermission(IdentityType recipient,
Class<?> resourceClass,
Serializable identifier,
String operation) |
boolean |
resolvePermission(IdentityType recipient,
Object resource,
String operation) |
public PermissionResolver(List<PermissionVoter> voters)
public boolean resolvePermission(IdentityType recipient, Object resource, String operation)
public boolean resolvePermission(IdentityType recipient, Class<?> resourceClass, Serializable identifier, String operation)
Copyright © 2018 JBoss by Red Hat. All rights reserved.