Transfer changes to lcs web.xml (session by cookies, location of log4j2.xml) to all other bundles.

git-svn-id: https://svn.libreccm.org/ccm/trunk@5628 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2018-08-02 04:27:40 +00:00
parent fbeba3a53a
commit d5910871bc
11 changed files with 268 additions and 46 deletions

View File

@ -75,6 +75,8 @@ public final class DispatcherConfig extends AbstractConfig {
/** /**
* Get the URL for static items * Get the URL for static items
*
* @Deprecated
*/ */
public String getStaticURLPrefix() { public String getStaticURLPrefix() {
return (String)get(m_staticURLPrefix); return (String)get(m_staticURLPrefix);

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>CCM</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<description>Content and Collaboration Management</description> basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>APLAWS base </display-name>
<description>Content and Collaboration Management (CCM)</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>CCM</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<description>Content and Collaboration Management</description> basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>APLAWS compatible site </display-name>
<description>Content and Collaboration Management (CCM)</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>CCM</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<description>Content and Collaboration Management</description> basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>APLAWS complete distribution </display-name>
<description>Content and Collaboration Management (CCM)</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>CCM</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<description>Content and Collaboration Management</description> basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>APLAWS demo distribution </display-name>
<description>Content and Collaboration Management (CCM)</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>CCM</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<description>Content and Collaboration Management</description> basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>APLAWS devel bundle </display-name>
<description>Content and Collaboration Management (CCM)</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>CCM</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<description>Content and Collaboration Management</description> basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>APLAWS standard bundle distribution </display-name>
<description>Content and Collaboration Management (CCM)</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>Scientific CMS</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>Scientific CMS (base bundle)</display-name>
<description>Content and Collaboration Management for Scientific Institutions</description> <description>Content and Collaboration Management for Scientific Institutions</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>Scientific CMS</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>Scientific CMS (demo bundle)</display-name>
<description>Content and Collaboration Management for Scientific Institutions</description> <description>Content and Collaboration Management for Scientific Institutions</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>Scientific CMS</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>Scientific CMS (devel bundle)</display-name>
<description>Content and Collaboration Management for Scientific Institutions</description> <description>Content and Collaboration Management for Scientific Institutions</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server

View File

@ -1,12 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" <web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="2.4"> version="3.0">
<display-name>Scientific CMS</display-name> <!--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
basic web.xml for ccm-core and basic functions. If
additional modules provide specific web.xml snippets they must be
integrated before CCM is ready to work. Alternatively a
complete web.xml file from an installation bundle may be used.
ccm-core requires at minimum Servlet Spec 3.0 / Tomcat 7.0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<display-name>Scientific CMS (standard bundle)</display-name>
<description>Content and Collaboration Management for Scientific Institutions</description> <description>Content and Collaboration Management for Scientific Institutions</description>
<!-- path and filename of the log4j2 user accessible config file
By default is is the same as the class path accessible file
in class ccm-core-x.y.z.jar. -->
<context-param>
<param-name>log4jConfiguration</param-name>
<param-value>WEB-INF/conf/log4j2.xml</param-value>
</context-param>
<!-- Prevent Session ID in URL (for security reasons!) -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<!-- Require secure connection by redirect to host-port part <!-- Require secure connection by redirect to host-port part
of parameter waf.web.secure_server of parameter waf.web.secure_server