public interface AccessDecisionVoter extends Serializable
SecurityViolationto the given result-set, if a restriction is detected. A voter has to be used in combination with
Secured. A voter can use every scope which is active. It's recommended to use
ApplicationScopedfor stateless voters and e.g.
@DefaultCallback Set<SecurityViolation> checkPermission(AccessDecisionVoterContext accessDecisionVoterContext)
InvocationContext. If a violation is detected, it should be added to a set which gets returned by the method.
accessDecisionVoterContext- current access-decision-voter-context
Copyright © 2017 The Apache Software Foundation. All rights reserved.