Class AuthenticatedAttributeVoter
- java.lang.Object
-
- org.lognet.springboot.grpc.security.AuthenticatedAttributeVoter
-
- All Implemented Interfaces:
org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
public class AuthenticatedAttributeVoter extends java.lang.Object implements org.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description AuthenticatedAttributeVoter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleansupports(java.lang.Class<?> clazz)booleansupports(org.springframework.security.access.ConfigAttribute attribute)intvote(org.springframework.security.core.Authentication authentication, java.lang.Object object, java.util.Collection<org.springframework.security.access.ConfigAttribute> attributes)
-
-
-
Method Detail
-
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute)
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
supports
public boolean supports(java.lang.Class<?> clazz)
- Specified by:
supportsin interfaceorg.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
vote
public int vote(org.springframework.security.core.Authentication authentication, java.lang.Object object, java.util.Collection<org.springframework.security.access.ConfigAttribute> attributes)- Specified by:
votein interfaceorg.springframework.security.access.AccessDecisionVoter<java.lang.Object>
-
-