Interface GrpcSecurityMetadataSource
- All Superinterfaces:
AopInfrastructureBean,SecurityMetadataSource
- All Known Implementing Classes:
AbstractGrpcSecurityMetadataSource,ManualGrpcSecurityMetadataSource
A
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.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(ServerCall<?, ?> call) Accesses theConfigAttributes that apply to a given secure object.Methods inherited from interface org.springframework.security.access.SecurityMetadataSource
getAllConfigAttributes, getAttributes, supports
-
Method Details
-
getAttributes
Accesses theConfigAttributes that apply to a given secure object.- Parameters:
call- The grpc call being secured.- Returns:
- The attributes that apply to the passed in secured object. Should return an empty collection if there are no applicable attributes.
-