This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new fc54e68 Remove system property
fc54e68 is described below
commit fc54e683d1517f3b303a16b3826098592a9bfafe
Author: remm <[email protected]>
AuthorDate: Wed Apr 1 14:53:45 2020 +0200
Remove system property
The system property for SSO cookie name configuration is now replaced by
an attribute on the SSO valve. The SINGLE_SIGN_ON_COOKIE in Constants
remains with the same "JSESSIONIDSSO" default value.
---
java/org/apache/catalina/authenticator/Constants.java | 3 +--
webapps/docs/changelog.xml | 6 ++++--
webapps/docs/config/systemprops.xml | 14 --------------
3 files changed, 5 insertions(+), 18 deletions(-)
diff --git a/java/org/apache/catalina/authenticator/Constants.java
b/java/org/apache/catalina/authenticator/Constants.java
index f7c1b71..1bf3689 100644
--- a/java/org/apache/catalina/authenticator/Constants.java
+++ b/java/org/apache/catalina/authenticator/Constants.java
@@ -36,8 +36,7 @@ public class Constants {
public static final String DEFAULT_LOGIN_MODULE_NAME =
"com.sun.security.jgss.krb5.accept";
// Cookie name for single sign on support
- public static final String SINGLE_SIGN_ON_COOKIE = System.getProperty(
-
"org.apache.catalina.authenticator.Constants.SSO_SESSION_COOKIE_NAME",
"JSESSIONIDSSO");
+ public static final String SINGLE_SIGN_ON_COOKIE = "JSESSIONIDSSO";
// --------------------------------------------------------- Request Notes
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 05fe60e..aadacaa 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -122,8 +122,10 @@
The default servley always uses weak comparison. (markt)
</fix>
<update>
- Add <code>cookieName</code> attribute to the SSO valve to configure the
- SSO cookie name. (remm)
+ Remove
+
<code>org.apache.catalina.authenticator.Constants.SSO_SESSION_COOKIE_NAME</code>
+ system property, replaced by the
+ <code>cookieName</code> attribute on the SSO valve. (remm)
</update>
</changelog>
</subsection>
diff --git a/webapps/docs/config/systemprops.xml
b/webapps/docs/config/systemprops.xml
index 8ce3793..fb3c6ea 100644
--- a/webapps/docs/config/systemprops.xml
+++ b/webapps/docs/config/systemprops.xml
@@ -171,20 +171,6 @@
</section>
-<section name="Sessions">
-
- <properties>
-
- <property name="org.apache.catalina.authenticator.
- Constants.SSO_SESSION_COOKIE_NAME">
- <p>An alternative name for the single sign on session cookie. Defaults to
- <code>JSESSIONIDSSO</code>.</p>
- </property>
-
- </properties>
-
-</section>
-
<section name="Logging">
<properties>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]