Class SslContextPreAuthenticationExtractor
java.lang.Object
org.springframework.grpc.server.security.SslContextPreAuthenticationExtractor
- All Implemented Interfaces:
GrpcAuthenticationExtractor
public class SslContextPreAuthenticationExtractor
extends Object
implements GrpcAuthenticationExtractor
-
Constructor Summary
ConstructorsConstructorDescriptionSslContextPreAuthenticationExtractor(org.springframework.security.web.authentication.preauth.x509.X509PrincipalExtractor principalExtractor) -
Method Summary
Modifier and TypeMethodDescription@Nullable org.springframework.security.core.Authenticationextract(io.grpc.Metadata headers, io.grpc.Attributes attributes, io.grpc.MethodDescriptor<?, ?> method)
-
Constructor Details
-
SslContextPreAuthenticationExtractor
public SslContextPreAuthenticationExtractor() -
SslContextPreAuthenticationExtractor
public SslContextPreAuthenticationExtractor(org.springframework.security.web.authentication.preauth.x509.X509PrincipalExtractor principalExtractor)
-
-
Method Details
-
extract
public @Nullable org.springframework.security.core.Authentication extract(io.grpc.Metadata headers, io.grpc.Attributes attributes, io.grpc.MethodDescriptor<?, ?> method) - Specified by:
extractin interfaceGrpcAuthenticationExtractor
-