public abstract class AbstractAccessDecisionVoter extends AbstractDecisionVoter implements AccessDecisionVoter
Constructor and Description |
---|
AbstractAccessDecisionVoter() |
Modifier and Type | Method and Description |
---|---|
Set<SecurityViolation> |
checkPermission(AccessDecisionVoterContext accessDecisionVoterContext)
It should be final - but proxy-libs won't support it.
|
protected abstract void |
checkPermission(AccessDecisionVoterContext accessDecisionVoterContext,
Set<SecurityViolation> violations)
Allows an easier implementation in combination with
AbstractDecisionVoter.newSecurityViolation(String) . |
newSecurityViolation
public Set<SecurityViolation> checkPermission(AccessDecisionVoterContext accessDecisionVoterContext)
checkPermission
in interface AccessDecisionVoter
accessDecisionVoterContext
- current access-decision-voter-contextprotected abstract void checkPermission(AccessDecisionVoterContext accessDecisionVoterContext, Set<SecurityViolation> violations)
AbstractDecisionVoter.newSecurityViolation(String)
.accessDecisionVoterContext
- current accessDecisionVoterContextviolations
- set for adding violationsCopyright © 2015 The Apache Software Foundation. All rights reserved.