Class ManualGrpcSecurityMetadataSource

java.lang.Object
net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
All Implemented Interfaces:
GrpcSecurityMetadataSource, AopInfrastructureBean, SecurityMetadataSource

public final class ManualGrpcSecurityMetadataSource extends AbstractGrpcSecurityMetadataSource
A GrpcSecurityMetadataSource for manual configuration. For each gRPC method a AccessPredicate can be defined, that checks whether the user is authenticated and has access. This metadata source only works if an AccessDecisionManager is configured with an AccessPredicateVoter.

Note: This instance is initialized with deny all as default.