public interface GrpcSecurityMetadataSource extends 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 |
|---|---|
Collection<ConfigAttribute> |
getAttributes(MethodDescriptor<?,?> method)
Accesses the
ConfigAttributes that apply to a given secure object. |
getAllConfigAttributes, getAttributes, supportsCollection<ConfigAttribute> getAttributes(MethodDescriptor<?,?> method)
ConfigAttributes that apply to a given secure object.method - The grpc method being secured.