# Package org.springframework.security.web.authentication.preauth.x509

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.

Related Packages
Package
Description
org.springframework.security.web.authentication.preauth
Support for "pre-authenticated" scenarios, where Spring Security assumes the incoming request has already been authenticated by some externally configured system.
org.springframework.security.web.authentication.preauth.j2ee
Pre-authentication support for container-authenticated requests.
org.springframework.security.web.authentication.preauth.websphere
Websphere-specific pre-authentication classes.
Class
Description
SubjectDnX509PrincipalExtractor
Obtains the principal from a certificate using a regular expression match against the Subject (as returned by a call to `X509Certificate.getSubjectDN()`).
X509AuthenticationFilter
X509PrincipalExtractor
Obtains the principal from an X509Certificate for use within the framework.