Package com.authlete.jaxrs
Interface ClientCertificateExtractor
-
- All Known Implementing Classes:
HeaderClientCertificateClientCertExtractor
,HeaderClientCertificateExtractor
,HeaderClientCertificateXSslExtractor
,HttpsRequestClientCertificateExtractor
public interface ClientCertificateExtractor
Extracts a client's MTLS certificate from an incoming HTTP Request.- Since:
- 2.8
- Author:
- jricher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
extractClientCertificateChain(javax.servlet.http.HttpServletRequest request)
Search the given request for a client's certificate and return it as a string of certificates in PEM format.
-
-
-
Method Detail
-
extractClientCertificateChain
String[] extractClientCertificateChain(javax.servlet.http.HttpServletRequest request)
Search the given request for a client's certificate and return it as a string of certificates in PEM format.- Parameters:
request
- The incoming HTTP request to search.- Returns:
- The client's MTLS certificate chain. All certificates are in PEM format, the first certificate is the client's own certificate.
-
-