Package org.springframework.grpc.server.security
@NullMarked
package org.springframework.grpc.server.security
Security infrastructure for gRPC servers.
-
ClassDescriptionAn interceptor that extracts the authentication credentials from the gRPC request headers and metadata, authenticates the user, and sets the authentication in the SecurityContext.Extracts the HTTP Basic authentication credentials from the gRPC request headers.A gRPC server interceptor that integrates Spring Security's
SecurityContextwith Kotlin coroutines by adding an element to the coroutine context.TheGrpcSecurityclass is responsible for configuring the security settings for a gRPC server.Extracts the HTTP Basic authentication credentials from the gRPC request headers.HttpBasicConfigurer<H extends org.springframework.security.config.annotation.SecurityBuilder<AuthenticationProcessInterceptor>>PreAuthConfigurer<H extends org.springframework.security.config.annotation.SecurityBuilder<AuthenticationProcessInterceptor>>Exception handler for server-side exceptions.