You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/framework-client_certificate_mapper.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,11 @@
1
1
# Client Certificate Mapper
2
-
The Client Certificate Mapper Framework adds a Servlet Filter to applications that will that maps the `X-Forwarded-Client-Cert` to the `javax.servlet.request.X509Certificate` Servlet attribute.
2
+
The Client Certificate Mapper Framework adds a Servlet Filter to applications that will that maps the `X-Forwarded-Client-Cert` to the `javax|jakarta.servlet.request.X509Certificate` Servlet attribute.
3
3
4
+
The Client Certificate Mapper Framework will download a helper library, [java-buildpack-client-certificate-mapper][library repository], that will enrich Spring Boot applications classpath.
5
+
6
+
If the app you're deploying is using Spring Boot 2 or earlier, the latest 1.x version (`javax` support) from [the listing][this listing] will be downloaded.
7
+
8
+
If the app you're deploying is using Spring Boot 3, the latest 2.x version (`jakarta` support) from [the listing][this listing] will be downloaded.
4
9
<table>
5
10
<tr>
6
11
<td><strong>Detection Criterion</strong></td>
@@ -18,10 +23,11 @@ For general information on configuring the buildpack, including how to specify c
18
23
19
24
The framework can be configured by modifying the [`config/client_certificate_mapper.yml`][] file in the buildpack fork. The framework uses the [`Repository` utility support][repositories] and so it supports the [version syntax][] defined there.
20
25
21
-
| Name | Description
22
-
|----| -----------
26
+
| Name | Description
27
+
|-------------------| -----------
23
28
| `repository_root` | The URL of the Container Customizer repository index ([details][repositories]).
24
-
| `version` | The version of Container Customizer to use. Candidate versions can be found in [this listing][].
29
+
| `version` | The version of Container Customizer to use. Candidate versions can be found in [this listing][].
30
+
| `javax_forced` | You can force the download of the v1.x version of the [library][library repository] which is based on `javax` naming.
25
31
26
32
## Servlet Filter
27
33
The [Servlet Filter][] added by this framework maps the `X-Forwarded-Client-Cert` to the `javax.servlet.request.X509Certificate` Servlet attribute for each request. The `X-Forwarded-Client-Cert` header is contributed by the Cloud Foundry Router and contains the any TLS certificate presented by a client for mututal TLS authentication. This certificate can then be used by any standard Java security framework to establish authentication and authorization for a request.
@@ -32,3 +38,4 @@ The [Servlet Filter][] added by this framework maps the `X-Forwarded-Client-Cert
0 commit comments