public class AccessPredicateVoter extends Object implements AccessDecisionVoter<io.grpc.ServerCall<?,?>>
AccessDecisionVoter that checks for AccessPredicateConfigAttributes.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,
io.grpc.ServerCall<?,?> serverCall,
Collection<ConfigAttribute> attributes) |
public boolean supports(ConfigAttribute attribute)
supports in interface AccessDecisionVoter<io.grpc.ServerCall<?,?>>public boolean supports(Class<?> clazz)
supports in interface AccessDecisionVoter<io.grpc.ServerCall<?,?>>public int vote(Authentication authentication, io.grpc.ServerCall<?,?> serverCall, Collection<ConfigAttribute> attributes)
vote in interface AccessDecisionVoter<io.grpc.ServerCall<?,?>>