public interface GrpcSecurityMetadataSource
extends org.springframework.security.access.SecurityMetadataSource
SecurityMetadataSource for grpc requests.
Note: The authorization checking via this metadata source will only be enabled, if both an
AccessDecisionVoter and a GrpcSecurityMetadataSource are present in the application context.
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<org.springframework.security.access.ConfigAttribute> |
getAttributes(io.grpc.MethodDescriptor<?,?> method)
Accesses the
ConfigAttributes that apply to a given secure object. |
java.util.Collection<org.springframework.security.access.ConfigAttribute> getAttributes(io.grpc.MethodDescriptor<?,?> method)
ConfigAttributes that apply to a given secure object.method - The grpc method being secured.