Skip navigation links
A B C D E F G H I M N O P R S T U V W X 

A

AbstractGrpcSecurityMetadataSource - Class in net.devh.boot.grpc.server.security.check
Abstract implementation of GrpcSecurityMetadataSource which resolves the secured object type to a MethodDescriptor.
AbstractGrpcSecurityMetadataSource() - Constructor for class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
 
AbstractGrpcServerFactory<T extends 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 ServerInterceptors 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 ServerInterceptors.
AnnotationGlobalServerInterceptorConfigurer() - Constructor for class net.devh.boot.grpc.server.interceptor.AnnotationGlobalServerInterceptorConfigurer
 
AnnotationGrpcServiceDiscoverer - Class in net.devh.boot.grpc.server.service
A GrpcServiceDiscoverer that searches for beans with the GrpcService annotations.
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
 
AUTHENTICATION_CONTEXT_KEY - Static variable in class net.devh.boot.grpc.server.security.interceptors.AuthenticatingServerInterceptor
The context key that can be used to retrieve the associated Authentication.
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
Creates a new AuthorizationCheckingServerInterceptor with the given AccessDecisionManager and GrpcSecurityMetadataSource.

B

BasicGrpcAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
Reads basic auth credentials from the request.
BasicGrpcAuthenticationReader() - Constructor for class net.devh.boot.grpc.server.security.authentication.BasicGrpcAuthenticationReader
 
BearerAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
Spring-Security has several token-based AuthenticationProvider implementations (e.g.
BearerAuthenticationReader(Function<String, Authentication>) - Constructor for class net.devh.boot.grpc.server.security.authentication.BearerAuthenticationReader
Creates a new BearerAuthenticationReader with the given wrapper function.

C

ClientAuth - Enum in net.devh.boot.grpc.server.config
Indicates the state of the SSLEngine with respect to client authentication.
closeCallAccessDenied(ServerCall<?, ?>, AccessDeniedException) - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
Close the call with Status.PERMISSION_DENIED.
closeCallUnauthenticated(ServerCall<?, ?>, AuthenticationException) - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
Close the call with Status.UNAUTHENTICATED.
CN_USERNAME_EXTRACTOR - Static variable in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
The default way to extract the username from an Authentication by using the CN.
collectMethodNamesForService(ServiceDescriptor) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
Gets all method names from the given service descriptor.
CompositeGrpcAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
Combines multiple GrpcAuthenticationReader into a single one.
CompositeGrpcAuthenticationReader(List<GrpcAuthenticationReader>) - Constructor for class net.devh.boot.grpc.server.security.authentication.CompositeGrpcAuthenticationReader
Creates a new CompositeGrpcAuthenticationReader with the given authentication readers.
compressionServerConfigurer(CompressorRegistry) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
configure(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the given server builder.
configureLimits(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures limits such as max message sizes that should be used by the server.
configureSecurity(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the security options that should be used by the server.
configureSecurity(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
 
configureSecurity(NettyServerBuilder) - Method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
 
configureServices(T) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Configures the services that should be served by the server.
consulGrpcRegistrationCustomizer(GrpcServerProperties) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataConsulConfiguration
 
ConsulGrpcRegistrationCustomizer - Class in net.devh.boot.grpc.server.cloud
Adds the grpc server port to the consul registration.
ConsulGrpcRegistrationCustomizer(GrpcServerProperties) - Constructor for class net.devh.boot.grpc.server.cloud.ConsulGrpcRegistrationCustomizer
Creates a new ConsulGrpcRegistrationCustomizer which will read the grpc server port from the given GrpcServerProperties.
createAndStartGrpcServer() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
Creates and starts the grpc server.
createServer() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
createServer() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
Creates a new grpc server with the stored options.
customize(ConsulRegistration) - Method in class net.devh.boot.grpc.server.cloud.ConsulGrpcRegistrationCustomizer
 

D

decompressionServerConfigurer(DecompressorRegistry) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
defaultGrpcServerProperties() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
defaultGrpcServiceDiscoverer() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
defaultServerConfigurers() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
denyAll() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Nobody can access the protected instance.
destroy() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
destroy() - Method in interface net.devh.boot.grpc.server.serverfactory.GrpcServerFactory
Destroys this factory.

E

equals(Object) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
eraseCredentials() - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
 
exceptionTranslatingServerInterceptor() - Method in class net.devh.boot.grpc.server.security.GrpcSecurityAutoConfiguration
 
ExceptionTranslatingServerInterceptor - Class in net.devh.boot.grpc.server.security.interceptors
Server interceptor that translates any AuthenticationException and AccessDeniedException to appropriate grpc status responses.
ExceptionTranslatingServerInterceptor() - Constructor for class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
 

F

FAIL_FALLBACK - Static variable in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
A fallback that will fail to extract the username and will return null.
findGrpcServices() - Method in class net.devh.boot.grpc.server.service.AnnotationGrpcServiceDiscoverer
 
findGrpcServices() - Method in interface net.devh.boot.grpc.server.service.GrpcServiceDiscoverer
Find the grpc services that should provided by the server.
fromCertificate(Certificate) - Method in class net.devh.boot.grpc.server.security.authentication.SSLContextGrpcAuthenticationReader
Tries to prepare an Authentication using the given certificate.
fullyAuthenticated() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
All authenticated users can access the protected instance excluding anonymous users.

G

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 ConfigAttributes 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 ServerInterceptors.
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 ServerInterceptors 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 ServerInterceptors 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 ServerBuilders 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.

H

hasAllAuthorities(GrantedAuthority...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have all of the given GrantedAuthority can access the protected instance.
hasAllAuthorities(Collection<GrantedAuthority>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given GrantedAuthority can access the protected instance.
hasAllRoles(String...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have all of the given roles can access the protected instance.
hasAllRoles(Collection<String>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have all of the given roles can access the protected instance.
hasAnyAuthority(GrantedAuthority...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given GrantedAuthority can access the protected instance.
hasAnyAuthority(Collection<GrantedAuthority>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given GrantedAuthority can access the protected instance.
hasAnyRole(String...) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given roles can access the protected instance.
hasAnyRole(Collection<String>) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have any of the given roles can access the protected instance.
hasAuthority(GrantedAuthority) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have the given GrantedAuthority can access the protected instance.
hashCode() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
hasRole(String) - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Only those who have the given role can access the protected instance.
healthStatusManager() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 

I

init() - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcMetadataEurekaConfiguration
 
init() - Method in class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
 
InProcessGrpcServerFactory - Class in net.devh.boot.grpc.server.serverfactory
Factory for in process grpc servers.
InProcessGrpcServerFactory(String, GrpcServerProperties) - Constructor for class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
Creates a new in process server factory with the given properties.
InProcessGrpcServerFactory(String, GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
Creates a new in process server factory with the given properties.
interceptCall(ServerCall<Q, A>, Metadata, ServerCallHandler<Q, A>) - Method in class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.security.interceptors.AuthenticatingServerInterceptor
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
 
interceptCall(ServerCall<ReqT, RespT>, Metadata, ServerCallHandler<ReqT, RespT>) - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
 
isAutoStartup() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
isRunning() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 

M

ManualGrpcSecurityMetadataSource - Class in net.devh.boot.grpc.server.security.check
A GrpcSecurityMetadataSource for manual configuration.
ManualGrpcSecurityMetadataSource() - Constructor for class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
 
metricCollectingServerInterceptor(MeterRegistry, Collection<BindableService>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerMetricAutoConfiguration
 
MetricCollectingServerInterceptor - Class in net.devh.boot.grpc.server.metric
A gRPC server interceptor that will collect metrics for micrometer.
MetricCollectingServerInterceptor(MeterRegistry) - Constructor for class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
Creates a new gRPC server interceptor that will collect metrics into the given MeterRegistry.
MetricCollectingServerInterceptor(MeterRegistry, UnaryOperator<Counter.Builder>, UnaryOperator<Timer.Builder>, Status.Code...) - Constructor for class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
Creates a new gRPC server interceptor that will collect metrics into the given MeterRegistry and uses the given customizer to configure the Counters and Timers.

N

negate() - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
 
net.devh.boot.grpc.server.autoconfigure - package net.devh.boot.grpc.server.autoconfigure
The Spring-Boot auto configuration classes that setup the gRPC server environment.
net.devh.boot.grpc.server.cloud - package net.devh.boot.grpc.server.cloud
Helper classes for Spring-Cloud server features.
net.devh.boot.grpc.server.config - package net.devh.boot.grpc.server.config
Classes related to the gRPC server configuration.
net.devh.boot.grpc.server.interceptor - package net.devh.boot.grpc.server.interceptor
Classes related to the gRPC (global) server interceptors and their discovery.
net.devh.boot.grpc.server.metric - package net.devh.boot.grpc.server.metric
A package containing the server side classes for grpc metric collection.
net.devh.boot.grpc.server.security - package net.devh.boot.grpc.server.security
Contains classes that check the user's authentication and authorization.
net.devh.boot.grpc.server.security.authentication - package net.devh.boot.grpc.server.security.authentication
Contains the security classes related to authentication checks.
net.devh.boot.grpc.server.security.check - package net.devh.boot.grpc.server.security.check
Contains the security classes related to authorization checks.
net.devh.boot.grpc.server.security.interceptors - package net.devh.boot.grpc.server.security.interceptors
Contains the interceptors that handle the security for the actual gRPC requests.
net.devh.boot.grpc.server.serverfactory - package net.devh.boot.grpc.server.serverfactory
Contains factories and related classes to setup the server.
net.devh.boot.grpc.server.service - package net.devh.boot.grpc.server.service
Classes related to the gRPC server services and their discovery.
nettyGrpcServerFactory(GrpcServerProperties, GrpcServiceDiscoverer, List<GrpcServerConfigurer>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
NettyGrpcServerFactory - Class in net.devh.boot.grpc.server.serverfactory
Factory for netty based grpc servers.
NettyGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
Creates a new netty server factory with the given properties.
newRequestCounterFor(MethodDescriptor<?, ?>) - Method in class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
 
newResponseCounterFor(MethodDescriptor<?, ?>) - Method in class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
 
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Creates a new server builder.
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.InProcessGrpcServerFactory
 
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
 
newServerBuilder() - Method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
 
newTimerFunction(MethodDescriptor<?, ?>) - Method in class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
 
noOpCallListener() - Method in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
Creates a new no-op call listener because you can neither return null nor throw an exception in ExceptionTranslatingServerInterceptor.interceptCall(ServerCall, Metadata, ServerCallHandler).

O

obtainSecurityMetadataSource() - Method in class net.devh.boot.grpc.server.security.interceptors.AuthorizationCheckingServerInterceptor
 
of(ClientAuth) - Static method in class net.devh.boot.grpc.server.serverfactory.NettyGrpcServerFactory
Converts the given client auth option to netty's client auth.
of(ClientAuth) - Static method in class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
Converts the given client auth option to netty's client auth.
or(Predicate<? super Authentication>) - Method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
 

P

patternExtractor(String, Function<? super X509CertificateAuthentication, String>) - Static method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
Creates a new case-insensitive pattern extractor with the given pattern.
permitAll() - Static method in interface net.devh.boot.grpc.server.security.check.AccessPredicate
Special constant that symbolizes that everybody (including unauthenticated users) can access the instance (no protection).
preregisterService(BindableService) - Method in class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
Pre-registers the all methods provided by the given service.
preregisterService(ServerServiceDefinition) - Method in class net.devh.boot.grpc.server.metric.MetricCollectingServerInterceptor
Pre-registers the all methods provided by the given service.
PRINCIPAL_USERNAME_EXTRACTOR - Static variable in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
The uses the name of the principal way to extract the username from an Authentication.
properties - Variable in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 

R

readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.AnonymousAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.BasicGrpcAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.BearerAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.CompositeGrpcAuthenticationReader
 
readAuthentication(ServerCall<?, ?>, Metadata) - Method in interface net.devh.boot.grpc.server.security.authentication.GrpcAuthenticationReader
Tries to read the Authentication information from the given call and metadata.
readAuthentication(ServerCall<?, ?>, Metadata) - Method in class net.devh.boot.grpc.server.security.authentication.SSLContextGrpcAuthenticationReader
 
remove(ServiceDescriptor) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Removes all access predicates for the all methods of the given service.
remove(MethodDescriptor<?, ?>) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Removes all access predicates for the given method.

S

Security() - Constructor for class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
 
serverConfigurers - Variable in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
 
set(ServiceDescriptor, AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Set the given access predicate for the all methods of the given service.
set(MethodDescriptor<?, ?>, AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Set the given access predicate for the given method.
setApplicationContext(ApplicationContext) - Method in class net.devh.boot.grpc.server.interceptor.GlobalServerInterceptorRegistry
 
setApplicationContext(ApplicationContext) - Method in class net.devh.boot.grpc.server.service.AnnotationGrpcServiceDiscoverer
 
setAuthenticated(boolean) - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
 
setCertificatePath(String) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties.Security
Deprecated.
Use the privateKeyPath property instead.
setDefault(AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Sets the default that will be used if no specific configuration has been made.
setMaxMessageSize(int) - Method in class net.devh.boot.grpc.server.config.GrpcServerProperties
Deprecated.
Use the maxInboundMessageSize property instead.
shadedNettyGrpcServerFactory(GrpcServerProperties, GrpcServiceDiscoverer, List<GrpcServerConfigurer>) - Method in class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration
 
ShadedNettyGrpcServerFactory - Class in net.devh.boot.grpc.server.serverfactory
Factory for shaded netty based grpc servers.
ShadedNettyGrpcServerFactory(GrpcServerProperties, List<GrpcServerConfigurer>) - Constructor for class net.devh.boot.grpc.server.serverfactory.ShadedNettyGrpcServerFactory
Creates a new shaded netty server factory with the given properties.
SSLContextGrpcAuthenticationReader - Class in net.devh.boot.grpc.server.security.authentication
An GrpcAuthenticationReader that will try to use the peer certificates to extract the client Authentication.
SSLContextGrpcAuthenticationReader() - Constructor for class net.devh.boot.grpc.server.security.authentication.SSLContextGrpcAuthenticationReader
 
start() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
stop() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
stop(Runnable) - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
 
stopAndReleaseGrpcServer() - Method in class net.devh.boot.grpc.server.serverfactory.GrpcServerLifecycle
Initiates an orderly shutdown of the grpc server and releases the references to the server.
supports(Class<?>) - Method in class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
 
supports(Class<?>) - Method in class net.devh.boot.grpc.server.security.check.AbstractGrpcSecurityMetadataSource
 
supports(ConfigAttribute) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 
supports(Class<?>) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 

T

toCheckedFile(String, String) - Method in class net.devh.boot.grpc.server.serverfactory.AbstractGrpcServerFactory
Converts the given path to a file.
toString() - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateConfigAttribute
 
TraceServerAutoConfiguration() - Constructor for class net.devh.boot.grpc.server.autoconfigure.GrpcServerAutoConfiguration.TraceServerAutoConfiguration
 

U

UNAUTHENTICATED_DESCRIPTION - Static variable in class net.devh.boot.grpc.server.security.interceptors.ExceptionTranslatingServerInterceptor
 

V

valueOf(String) - Static method in enum net.devh.boot.grpc.server.config.ClientAuth
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.devh.boot.grpc.server.config.ClientAuth
Returns an array containing the constants of this enum type, in the order they are declared.
vote(Authentication, Object, Collection<ConfigAttribute>) - Method in class net.devh.boot.grpc.server.security.check.AccessPredicateVoter
 

W

wrap(AccessPredicate) - Method in class net.devh.boot.grpc.server.security.check.ManualGrpcSecurityMetadataSource
Wraps the given predicate in a configuration attribute and an immutable collection.

X

X509CertificateAuthentication - Class in net.devh.boot.grpc.server.security.authentication
An authentication object that was created for a X509Certificate.
X509CertificateAuthentication(X509Certificate) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
Creates a new X509CertificateAuthentication that will use the given certificate.
X509CertificateAuthentication(Object, X509Certificate, Collection<? extends GrantedAuthority>) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthentication
Creates a new X509CertificateAuthentication that was authenticated using the given certificate.
X509CertificateAuthenticationProvider - Class in net.devh.boot.grpc.server.security.authentication
X509CertificateAuthenticationProvider(UserDetailsService) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
Creates a new X509CertificateAuthenticationProvider, which uses the default way (via CN) to extract the username and uses the given UserDetailsService to lookup the user.
X509CertificateAuthenticationProvider(Function<? super X509CertificateAuthentication, String>, UserDetailsService) - Constructor for class net.devh.boot.grpc.server.security.authentication.X509CertificateAuthenticationProvider
Creates a new X509CertificateAuthenticationProvider, which uses the given Function to extract the username and uses the given UserDetailsService to lookup the user.
A B C D E F G H I M N O P R S T U V W X 
Skip navigation links