Class AuthenticatedAttributeVoter
java.lang.Object
org.lognet.springboot.grpc.security.AuthenticatedAttributeVoter
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<Object>
-
Field Summary
Fields inherited from interface org.springframework.security.access.AccessDecisionVoter
ACCESS_ABSTAIN, ACCESS_DENIED, ACCESS_GRANTED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleansupports(org.springframework.security.access.ConfigAttribute attribute)intvote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> attributes)
-
Constructor Details
-
AuthenticatedAttributeVoter
public AuthenticatedAttributeVoter()
-
-
Method Details
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute)- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-
supports
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-
vote
public int vote(org.springframework.security.core.Authentication authentication, Object object, Collection<org.springframework.security.access.ConfigAttribute> attributes)- Specified by:
votein interfaceorg.springframework.security.access.AccessDecisionVoter<Object>
-