public class DroolsPermissionVoter extends Object implements PermissionVoter
PermissionVoter.VotingResult| Constructor and Description |
|---|
DroolsPermissionVoter(org.kie.api.KieBase securityRules) |
| Modifier and Type | Method and Description |
|---|---|
PermissionVoter.VotingResult |
hasPermission(IdentityType recipient,
Class<?> resourceClass,
Serializable identifier,
String operation)
Rule-based permission checks only work with the actual resource instance, not with the identifier.
|
PermissionVoter.VotingResult |
hasPermission(IdentityType recipient,
Object resource,
String operation) |
public DroolsPermissionVoter(org.kie.api.KieBase securityRules)
public PermissionVoter.VotingResult hasPermission(IdentityType recipient, Object resource, String operation)
hasPermission in interface PermissionVoterpublic PermissionVoter.VotingResult hasPermission(IdentityType recipient, Class<?> resourceClass, Serializable identifier, String operation)
hasPermission in interface PermissionVoterCopyright © 2014. All Rights Reserved.