You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/03/31 19:56:36 UTC
[tomcat] branch 8.5.x updated: Re-fix back-port. Servlet 4.0 and
earlier use "javax..." not "java..."
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 8e06582 Re-fix back-port. Servlet 4.0 and earlier use "javax..." not "java..."
8e06582 is described below
commit 8e0658296ccb2f72ea02b561f267c27239784dad
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Mar 31 20:42:04 2020 +0100
Re-fix back-port. Servlet 4.0 and earlier use "javax..." not "java..."
---
java/org/apache/catalina/Globals.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/java/org/apache/catalina/Globals.java b/java/org/apache/catalina/Globals.java
index 137d808..addbdca 100644
--- a/java/org/apache/catalina/Globals.java
+++ b/java/org/apache/catalina/Globals.java
@@ -152,7 +152,7 @@ public final class Globals {
* objects representing the certificate chain presented by our client,
* if any.
*/
- public static final String CERTIFICATES_ATTR = "java.servlet.request.X509Certificate";
+ public static final String CERTIFICATES_ATTR = "javax.servlet.request.X509Certificate";
/**
@@ -160,28 +160,28 @@ public final class Globals {
* being used on an SSL connection (as an object of type
* java.lang.String).
*/
- public static final String CIPHER_SUITE_ATTR = "java.servlet.request.cipher_suite";
+ public static final String CIPHER_SUITE_ATTR = "javax.servlet.request.cipher_suite";
/**
* The request attribute under which we store the key size being used for
* this SSL connection (as an object of type java.lang.Integer).
*/
- public static final String KEY_SIZE_ATTR = "java.servlet.request.key_size";
+ public static final String KEY_SIZE_ATTR = "javax.servlet.request.key_size";
/**
* The request attribute under which we store the session id being used
* for this SSL connection (as an object of type java.lang.String).
*/
- public static final String SSL_SESSION_ID_ATTR = "java.servlet.request.ssl_session_id";
+ public static final String SSL_SESSION_ID_ATTR = "javax.servlet.request.ssl_session_id";
/**
* The request attribute key for the session manager.
* This one is a Tomcat extension to the Servlet spec.
*/
- public static final String SSL_SESSION_MGR_ATTR = "java.servlet.request.ssl_session_mgr";
+ public static final String SSL_SESSION_MGR_ATTR = "javax.servlet.request.ssl_session_mgr";
// ------------------------------------------------- Session attribute names
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org