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(ServerCall<?,?> call)
Accesses the
ConfigAttribute s that apply to a given secure object. |
getAllConfigAttributes, getAttributes, supports
Collection<ConfigAttribute> getAttributes(ServerCall<?,?> call)
ConfigAttribute
s that apply to a given secure object.call
- The grpc call being secured.