Class GrpcServiceAuthorizationConfigurer.Registry
java.lang.Object
org.lognet.springboot.grpc.security.GrpcServiceAuthorizationConfigurer.Registry
- Enclosing class:
- GrpcServiceAuthorizationConfigurer
-
Method Summary
Modifier and TypeMethodDescriptionand()anyMethodExcluding(io.grpc.MethodDescriptor<?,?>... methodDescriptor)anyMethodExcluding(Predicate<io.grpc.MethodDescriptor<?,?>> excludePredicate)anyServiceExcluding(io.grpc.ServiceDescriptor... serviceDescriptor)anyServiceExcluding(Predicate<io.grpc.ServiceDescriptor> excludePredicate)methods(io.grpc.MethodDescriptor<?,?>... methodDescriptor)services(io.grpc.ServiceDescriptor... serviceDescriptor)Same aswithSecuredAnnotation(true)withSecuredAnnotation(boolean withSecuredAnnotation)
-
Method Details
-
withoutSecuredAnnotation
-
anyMethod
-
anyMethodExcluding
public GrpcServiceAuthorizationConfigurer.AuthorizedMethod anyMethodExcluding(io.grpc.MethodDescriptor<?,?>... methodDescriptor) -
anyMethodExcluding
public GrpcServiceAuthorizationConfigurer.AuthorizedMethod anyMethodExcluding(Predicate<io.grpc.MethodDescriptor<?,?>> excludePredicate) -
anyService
-
anyServiceExcluding
public GrpcServiceAuthorizationConfigurer.AuthorizedMethod anyServiceExcluding(io.grpc.ServiceDescriptor... serviceDescriptor) -
anyServiceExcluding
public GrpcServiceAuthorizationConfigurer.AuthorizedMethod anyServiceExcluding(Predicate<io.grpc.ServiceDescriptor> excludePredicate) -
withSecuredAnnotation
Same aswithSecuredAnnotation(true)- Returns:
- GrpcSecurity configuration
-
withSecuredAnnotation
-
methods
public GrpcServiceAuthorizationConfigurer.AuthorizedMethod methods(io.grpc.MethodDescriptor<?,?>... methodDescriptor) -
services
public GrpcServiceAuthorizationConfigurer.AuthorizedMethod services(io.grpc.ServiceDescriptor... serviceDescriptor) -
and
-