Package org.springframework.security.web.authentication.preauth.x509
@NullMarked
package org.springframework.security.web.authentication.preauth.x509
X.509 client certificate authentication support. Hooks into the certificate exposed by
the servlet container through the
jakarta.servlet.request.X509Certificate
property.-
ClassDescriptionDeprecated.Extracts the principal from the
X500Principal.getName(String)returned byX509Certificate.getSubjectX500Principal()passed intoSubjectX500PrincipalExtractor.extractPrincipal(X509Certificate)depending on the value ofSubjectX500PrincipalExtractor.setExtractPrincipalNameFromEmail(boolean).Obtains the principal from an X509Certificate for use within the framework.
SubjectX500PrincipalExtractorinstead