public class AccessPredicateVoter extends Object implements AccessDecisionVoter<Object>
AccessDecisionVoter
that checks for AccessPredicateConfigAttribute
s.ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED
Constructor and Description |
---|
AccessPredicateVoter() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class<?> clazz) |
boolean |
supports(ConfigAttribute attribute) |
int |
vote(Authentication authentication,
Object object,
Collection<ConfigAttribute> attributes) |
public boolean supports(ConfigAttribute attribute)
supports
in interface AccessDecisionVoter<Object>
public boolean supports(Class<?> clazz)
supports
in interface AccessDecisionVoter<Object>
public int vote(Authentication authentication, Object object, Collection<ConfigAttribute> attributes)
vote
in interface AccessDecisionVoter<Object>