- AbstractGrpcSecurityMetadataSource - Class in net.devh.boot.grpc.server.security.check
-
- AbstractGrpcSecurityMetadataSource() - Constructor for class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
-
- AbstractGrpcServerFactory<T extends io.grpc.ServerBuilder<T>> - Class in net.devh.boot.grpc.server.serverfactory
-
Abstract factory for grpc servers.
- AbstractGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
-
Creates a new server factory with the given properties.
- ACCESS_DENIED_DESCRIPTION - Static variable in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
-
- AccessPredicate - Interface in net.devh.boot.grpc.server.security.check
-
Predicate that can be used to check whether the given Authentication
has access to the protected
service/method.
- AccessPredicateConfigAttribute - Class in net.devh.boot.grpc.server.security.check
-
A
ConfigAttribute
which uses the embedded
AccessPredicate
for the decisions.
- AccessPredicateConfigAttribute(AccessPredicate) - Constructor for class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
-
Creates a new AccessPredicateConfigAttribute with the given
AccessPredicate
.
- AccessPredicateVoter - Class in net.devh.boot.grpc.server.security.check
-
- AccessPredicateVoter() - Constructor for class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
-
- addServerInterceptors(GlobalServerInterceptorRegistry) - Method in class net.devh.boot.grpc.server.interceptor.AnnotationGlobalServerInterceptorConfigurer
-
- addServerInterceptors(GlobalServerInterceptorRegistry) - Method in interface net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorConfigurer
-
Adds the ServerInterceptor
s that should be registered globally to the given registry.
- addServerInterceptors(ServerInterceptor) - Method in class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
-
Adds the given ServerInterceptor
to the list of globally registered interceptors.
- addService(GrpcServiceDefinition) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
-
- addService(GrpcServiceDefinition) - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
-
Adds the given grpc service definition to this factory.
- and(Predicate<? super Authentication>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
-
- andThen(Consumer<? super ServerBuilder<?>>) - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerConfigurer
-
- annotationGlobalServerInterceptorConfigurer() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
-
- AnnotationGlobalServerInterceptorConfigurer - Class in net.devh.boot.grpc.server.interceptor
-
Automatically find and configure
annotated
global
ServerInterceptor
s.
- AnnotationGlobalServerInterceptorConfigurer() - Constructor for class net.devh.boot.grpc.server.interceptor.AnnotationGlobalServerInterceptorConfigurer
-
- AnnotationGrpcServiceDiscoverer - Class in net.devh.boot.grpc.server.service
-
- AnnotationGrpcServiceDiscoverer() - Constructor for class net.devh.boot.grpc.server.service.AnnotationGrpcServiceDiscoverer
-
- AnonymousAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
-
The AnonymousAuthenticationReader allows users without credentials to get an anonymous identity.
- AnonymousAuthenticationReader(String) - Constructor for class net.devh.boot.grpc.server.security.authentication.AnonymousAuthenticationReader
-
Creates a new AnonymousAuthenticationReader with the given key and "anonymousUser"
as principal with the
ROLE_ANONYMOUS
.
- AnonymousAuthenticationReader(String, Object, Collection<? extends GrantedAuthority>) - Constructor for class net.devh.boot.grpc.server.security.authentication.AnonymousAuthenticationReader
-
Creates a new AnonymousAuthenticationReader with the given key,principal and authorities.
- ANY_IP_ADDRESS - Static variable in class net.devh.boot.grpc.server.config.GrpcServerProperties
-
A constant that defines, that the server should listen to any IPv4 and IPv6 address.
- ANY_IPv4_ADDRESS - Static variable in class net.devh.boot.grpc.server.config.GrpcServerProperties
-
A constant that defines, that the server should listen to any IPv4 address.
- ANY_IPv6_ADDRESS - Static variable in class net.devh.boot.grpc.server.config.GrpcServerProperties
-
A constant that defines, that the server should listen to any IPv6 address.
- authenticate(Authentication) - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
-
- authenticated() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
-
All authenticated users can access the protected instance including anonymous users.
- authenticatingServerInterceptor(AuthenticationManager, GrpcAuthenticationReader) - Method in class net.devh.boot.grpc.server.security.GrpcSecurityAutoConfiguration
-
- AuthenticatingServerInterceptor - Class in net.devh.boot.grpc.server.security.interceptors
-
A server interceptor that tries to
read
the credentials from the client and
authenticate
them.
- AuthenticatingServerInterceptor(AuthenticationManager, GrpcAuthenticationReader) - Constructor for class net.devh.boot.grpc.server.security.interceptors.AuthenticatingServerInterceptor
-
- authorizationCheckingServerInterceptor(AccessDecisionManager, GrpcSecurityMetadataSource) - Method in class net.devh.boot.grpc.server.security.GrpcSecurityAutoConfiguration
-
- AuthorizationCheckingServerInterceptor - Class in net.devh.boot.grpc.server.security.interceptors
-
A server interceptor that will check the security context whether it has permission to access the grpc method.
- AuthorizationCheckingServerInterceptor(AccessDecisionManager, GrpcSecurityMetadataSource) - Constructor for class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
-
- getAccessPredicate() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
-
Gets the access predicate that belongs to this instance.
- getAddress() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
-
- getAddress() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
-
Gets the IP address the created server will be bound to.
- getAddress() - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
-
- getAllConfigAttributes() - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
-
- getAttribute() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
-
- getAttributes(Object) - Method in class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
-
- getAttributes(MethodDescriptor<?, ?>) - Method in interface net.devh.boot.grpc.server.security.check.GrpcSecurityMetadataSource
-
Accesses the ConfigAttribute
s that apply to a given secure object.
- getAttributes(MethodDescriptor<?, ?>) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
-
- getBeanClazz() - Method in class net.devh.boot.grpc.server.service.GrpcServiceDefinition
-
Gets the class of the grpc service bean.
- getBeanName() - Method in class net.devh.boot.grpc.server.service.GrpcServiceDefinition
-
Gets the name of the grpc service bean.
- getCredentials() - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
-
- getDefinition() - Method in class net.devh.boot.grpc.server.service.GrpcServiceDefinition
-
Gets the grpc service definition.
- getMaxInboundMessageSize() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
-
Gets the maximum message size in bytes allowed to be received by the server.
- getPhase() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
-
- getPort() - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
-
Gets the port the server should listen on.
- getPort() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
-
- getPort() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
-
Gets the local port the created server will use to listen to requests.
- getPort() - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
-
- getPrincipal() - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
-
- getSecureObjectClass() - Method in class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
-
- GlobalServerInterceptorConfigurer - Interface in net.devh.boot.grpc.server.interceptor
-
This configurer can be used to register new global ServerInterceptor
s.
- globalServerInterceptorRegistry() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
-
- GlobalServerInterceptorRegistry - Class in net.devh.boot.grpc.server.interceptor
-
The global server interceptor registry keeps references to all ServerInterceptor
s that should be registered
globally.
- GlobalServerInterceptorRegistry() - Constructor for class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
-
- globalTraceServerInterceptorConfigurerAdapter(GrpcTracing) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration.TraceServerAutoConfiguration
-
- GrpcAuthenticationReader - Interface in net.devh.boot.grpc.server.security.authentication
-
Reads the authentication data from the given ServerCall
and Metadata
.
- GrpcGlobalServerInterceptor - Annotation Type in net.devh.boot.grpc.server.interceptor
-
Annotation for gRPC ServerInterceptor
s to apply them globally.
- GrpcMetadataConsulConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
-
Configuration class that configures the required beans for grpc discovery via Consul.
- GrpcMetadataConsulConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataConsulConfiguration
-
- GrpcMetadataEurekaConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
-
Configuration class that configures the required beans for grpc discovery via Eureka.
- GrpcMetadataEurekaConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataEurekaConfiguration
-
- GrpcSecurityAutoConfiguration - Class in net.devh.boot.grpc.server.security
-
Auto configuration class with the required beans for the spring-security configuration of the grpc server.
- GrpcSecurityAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.security.GrpcSecurityAutoConfiguration
-
- GrpcSecurityMetadataSource - Interface in net.devh.boot.grpc.server.security.check
-
A SecurityMetadataSource
for grpc requests.
- GrpcServerAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
-
The auto configuration used by Spring-Boot that contains all beans to run a grpc server/service.
- GrpcServerAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
-
- GrpcServerAutoConfiguration.TraceServerAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
-
- GrpcServerConfigurer - Interface in net.devh.boot.grpc.server.serverfactory
-
A configurer for
ServerBuilder
s which can be used by
GrpcServerFactory
to customize the created
server.
- GrpcServerFactory - Interface in net.devh.boot.grpc.server.serverfactory
-
A factory that can be used to create grpc servers.
- grpcServerLifecycle(GrpcServerFactory) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
-
- GrpcServerLifecycle - Class in net.devh.boot.grpc.server.serverfactory
-
Lifecycle bean that automatically starts and stops the grpc server.
- GrpcServerLifecycle(GrpcServerFactory) - Constructor for class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
-
- GrpcServerMetricAutoConfiguration - Class in net.devh.boot.grpc.server.autoconfigure
-
Auto configuration class for Spring-Boot.
- GrpcServerMetricAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
-
- GrpcServerProperties - Class in net.devh.boot.grpc.server.config
-
The properties for the grpc server that will be started as part of the application.
- GrpcServerProperties() - Constructor for class net.devh.boot.grpc.server.config.GrpcServerProperties
-
- GrpcServerProperties.Security - Class in net.devh.boot.grpc.server.config
-
The security configuration for the gRPC server.
- GrpcService - Annotation Type in net.devh.boot.grpc.server.service
-
Annotation that marks gRPC services that should be registered with a gRPC server.
- GrpcServiceDefinition - Class in net.devh.boot.grpc.server.service
-
Container class that contains all relevant information about a grpc service.
- GrpcServiceDefinition(String, Class<?>, ServerServiceDefinition) - Constructor for class net.devh.boot.grpc.server.service.GrpcServiceDefinition
-
Creates a new GrpcServiceDefinition.
- GrpcServiceDiscoverer - Interface in net.devh.boot.grpc.server.service
-
An interface for a bean that will be used to find grpc services and codecs.