Modified: ofbiz/branches/release14.12/framework/resources/templates/web.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/framework/resources/templates/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/framework/resources/templates/web.xml (original) +++ ofbiz/branches/release14.12/framework/resources/templates/web.xml Mon Dec 14 10:09:19 2015 @@ -1,6 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - @component-resource-name@ Component</display-name> <description>@component-resource-name@ Component of the Apache OFBiz Project</description> @@ -10,17 +13,17 @@ <description>A unique ID used to look up the WebSite entity. Only for component using a WebSite entity, like ecommerce</description> </context-param--> <context-param> - <param-name>localDispatcherName</param-name><param-value>@component-name@</param-value> <description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description> + <param-name>localDispatcherName</param-name><param-value>@component-name@</param-value> </context-param> <context-param> - <param-name>entityDelegatorName</param-name><param-value>default</param-value> <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description> + <param-name>entityDelegatorName</param-name><param-value>default</param-value> </context-param> <context-param> + <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description> <param-name>mainDecoratorLocation</param-name> <param-value>component://@component-name@/widget/CommonScreens.xml</param-value> - <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description> </context-param> <!-- <context-param> @@ -30,14 +33,14 @@ </context-param> --> <context-param> + <description>Remove unnecessary whitespace from HTML output.</description> <param-name>compressHTML</param-name> <param-value>false</param-value> - <description>Remove unnecessary whitespace from HTML output.</description> </context-param> <filter> - <filter-name>ContextFilter</filter-name> <display-name>ContextFilter</display-name> + <filter-name>ContextFilter</filter-name> <filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class> <init-param><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param> <init-param> @@ -55,15 +58,22 @@ <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> --> <servlet> - <servlet-name>ControlServlet</servlet-name> - <display-name>ControlServlet</display-name> <description>Main Control Servlet</description> + <display-name>ControlServlet</display-name> + <servlet-name>ControlServlet</servlet-name> <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping><servlet-name>ControlServlet</servlet-name><url-pattern>/control/*</url-pattern></servlet-mapping> - <session-config><session-timeout>60</session-timeout><!-- in minutes --></session-config> + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> + </session-config> <welcome-file-list> <welcome-file>index.jsp</welcome-file> Modified: ofbiz/branches/release14.12/framework/webtools/webapp/webtools/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/framework/webtools/webapp/webtools/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/framework/webtools/webapp/webtools/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/framework/webtools/webapp/webtools/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one @@ -20,29 +19,35 @@ specific language governing permissions under the License. --> -<web-app> - <display-name>Apache OFBiz - Web Tools</display-name> - <description>Common Application Components of the Apache OFBiz Project</description> - - <context-param> - <param-name>entityDelegatorName</param-name> - <param-value>default</param-value> - <!--<description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>--> - </context-param> - <context-param> - <param-name>localDispatcherName</param-name> - <param-value>webtools</param-value> - <!--<description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>--> - </context-param> - <context-param> - <param-name>xmlrpc.enabledForExtensions</param-name> - <param-value>true</param-value> - </context-param> - <context-param> - <param-name>mainDecoratorLocation</param-name> - <param-value>component://webtools/widget/CommonScreens.xml</param-value> - <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable in screen def XML files.</description> - </context-param> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> + <display-name>Apache OFBiz - Web Tools</display-name> + <description>Common Application Components of the Apache OFBiz Project</description> + + <context-param> + <param-name>entityDelegatorName</param-name> + <param-value>default</param-value> + <!--<description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>--> + </context-param> + <context-param> + <param-name>localDispatcherName</param-name> + <param-value>webtools</param-value> + <!--<description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>--> + </context-param> + <context-param> + <param-name>xmlrpc.enabledForExtensions</param-name> + <param-value>true</param-value> + </context-param> + <context-param> + <description>The location of the main-decorator screen to use for this webapp; referred to as a context variable + in screen def XML files. + </description> + <param-name>mainDecoratorLocation</param-name> + <param-value>component://webtools/widget/CommonScreens.xml</param-value> + </context-param> <context-param> <param-name>GeronimoMultiOfbizInstances</param-name> @@ -51,8 +56,8 @@ under the License. </context-param> <filter> - <filter-name>ContextFilter</filter-name> <display-name>ContextFilter</display-name> + <filter-name>ContextFilter</filter-name> <filter-class>org.ofbiz.webapp.control.ContextFilter</filter-class> <init-param> <param-name>disableContextSecurity</param-name> @@ -60,7 +65,9 @@ under the License. </init-param> <init-param> <param-name>allowedPaths</param-name> - <param-value>/ping.txt:/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/applet:/includes/maincss.css</param-value> + <param-value> + /ping.txt:/error:/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/applet:/includes/maincss.css + </param-value> </init-param> <init-param> <param-name>errorCode</param-name> @@ -77,73 +84,83 @@ under the License. </filter> <filter-mapping> <filter-name>ContextFilter</filter-name> - <url-pattern>/*</url-pattern> + <url-pattern>/*</url-pattern> </filter-mapping> - <listener><listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class></listener> - <listener><listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class></listener> - <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface --> - <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> --> - - <servlet> - <servlet-name>ControlServlet</servlet-name> - <display-name>ControlServlet</display-name> - <description>Main Control Servlet</description> - <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - <servlet-mapping> - <servlet-name>ControlServlet</servlet-name> - <url-pattern>/control/*</url-pattern> - </servlet-mapping> - - <session-config> - <session-timeout>60</session-timeout> <!-- in minutes --> - </session-config> - - <welcome-file-list> - <welcome-file>index.jsp</welcome-file> - </welcome-file-list> - -<!-- HTTP Response Code definitions: -| "400" ; Bad Request -| "401" ; Unauthorized -| "402" ; Payment Required -| "403" ; Forbidden -| "404" ; Not Found -| "405" ; Method Not Allowed -| "406" ; Not Acceptable -| "407" ; Proxy Authentication Required -| "408" ; Request Time-out -| "409" ; Conflict -| "410" ; Gone -| "411" ; Length Required -| "412" ; Precondition Failed -| "413" ; Request Entity Too Large -| "414" ; Request-URI Too Large -| "415" ; Unsupported Media Type -| "500" ; Internal Server Error -| "501" ; Not Implemented -| "502" ; Bad Gateway -| "503" ; Service Unavailable -| "504" ; Gateway Time-out -| "505" ; HTTP Version not supported ---> - -<!-- - <security-constraint> - <web-resource-collection> - <web-resource-name>Entire Site</web-resource-name> - <description>Entire Site</description> - <url-pattern>/*</url-pattern> - </web-resource-collection> ---> + <listener> + <listener-class>org.ofbiz.webapp.control.ControlEventListener</listener-class> + </listener> + <listener> + <listener-class>org.ofbiz.webapp.control.LoginEventListener</listener-class> + </listener> + <!-- NOTE: not all app servers support mounting implementations of the HttpSessionActivationListener interface --> + <!-- <listener><listener-class>org.ofbiz.webapp.control.ControlActivationEventListener</listener-class></listener> --> + + <servlet> + <description>Main Control Servlet</description> + <display-name>ControlServlet</display-name> + <servlet-name>ControlServlet</servlet-name> + <servlet-class>org.ofbiz.webapp.control.ControlServlet</servlet-class> + <load-on-startup>1</load-on-startup> + </servlet> + <servlet-mapping> + <servlet-name>ControlServlet</servlet-name> + <url-pattern>/control/*</url-pattern> + </servlet-mapping> + + <session-config> + <session-timeout>60</session-timeout> + <!-- in minutes --> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> + </session-config> + + <welcome-file-list> + <welcome-file>index.jsp</welcome-file> + </welcome-file-list> + + <!-- HTTP Response Code definitions: + | "400" ; Bad Request + | "401" ; Unauthorized + | "402" ; Payment Required + | "403" ; Forbidden + | "404" ; Not Found + | "405" ; Method Not Allowed + | "406" ; Not Acceptable + | "407" ; Proxy Authentication Required + | "408" ; Request Time-out + | "409" ; Conflict + | "410" ; Gone + | "411" ; Length Required + | "412" ; Precondition Failed + | "413" ; Request Entity Too Large + | "414" ; Request-URI Too Large + | "415" ; Unsupported Media Type + | "500" ; Internal Server Error + | "501" ; Not Implemented + | "502" ; Bad Gateway + | "503" ; Service Unavailable + | "504" ; Gateway Time-out + | "505" ; HTTP Version not supported + --> + + <!-- + <security-constraint> + <web-resource-collection> + <web-resource-name>Entire Site</web-resource-name> + <description>Entire Site</description> + <url-pattern>/*</url-pattern> + </web-resource-collection> + --> <!-- For enabling SSL, specify CONFIDENTIAL or INTEGRAL. --> -<!-- - <user-data-constraint> - <transport-guarantee>CONFIDENTIAL</transport-guarantee> - </user-data-constraint> - </security-constraint> ---> + <!-- + <user-data-constraint> + <transport-guarantee>CONFIDENTIAL</transport-guarantee> + </user-data-constraint> + </security-constraint> + --> </web-app> Modified: ofbiz/branches/release14.12/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/themes/bizznesstime/webapp/bizznesstime/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,12 +18,21 @@ specific language governing permissions under the License. --> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - It's Bizzness Time Visual Theme</display-name> <description>It's bizzness, it's bizzness time. I couldn't have said it better myself. This theme gets down</description> <session-config> - <session-timeout>1</session-timeout> + <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> </session-config> <welcome-file-list> Modified: ofbiz/branches/release14.12/themes/bluelight/webapp/bluelight/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/themes/bluelight/webapp/bluelight/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/themes/bluelight/webapp/bluelight/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/themes/bluelight/webapp/bluelight/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,12 +18,21 @@ specific language governing permissions under the License. --> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - bluelight Visual Theme</display-name> <description>bluelight Visual Theme</description> <session-config> <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> </session-config> <welcome-file-list> Modified: ofbiz/branches/release14.12/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/themes/droppingcrumbs/webapp/droppingcrumbs/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,12 +18,21 @@ specific language governing permissions under the License. --> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - Bread Crumbs Visual Theme</display-name> <description>Bread Crumbs Visual Theme</description> <session-config> <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> </session-config> <welcome-file-list> Modified: ofbiz/branches/release14.12/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,12 +18,21 @@ specific language governing permissions under the License. --> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - Flat Grey Visual Theme</display-name> <description>Flat Grey Visual Theme</description> <session-config> - <session-timeout>1</session-timeout> + <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> </session-config> <welcome-file-list> Modified: ofbiz/branches/release14.12/themes/multiflex/webapp/multiflex/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/themes/multiflex/webapp/multiflex/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/themes/multiflex/webapp/multiflex/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/themes/multiflex/webapp/multiflex/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,12 +18,21 @@ specific language governing permissions under the License. --> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - multiflex Ecommerce Visual Theme</display-name> <description>multiflex Ecommerce Visual Theme</description> <session-config> <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> </session-config> <welcome-file-list> Modified: ofbiz/branches/release14.12/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release14.12/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml?rev=1719874&r1=1719873&r2=1719874&view=diff ============================================================================== --- ofbiz/branches/release14.12/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml (original) +++ ofbiz/branches/release14.12/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml Mon Dec 14 10:09:19 2015 @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file @@ -19,12 +18,21 @@ specific language governing permissions under the License. --> -<web-app> +<web-app version="3.0" + xmlns="http://java.sun.com/xml/ns/javaee" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> <display-name>Apache OFBiz - Tomahawk Visual Theme</display-name> <description>Tomahawk Visual Theme</description> <session-config> <session-timeout>1</session-timeout> + <cookie-config> + <http-only>true</http-only> + <secure>true</secure> + </cookie-config> + <tracking-mode>COOKIE</tracking-mode> </session-config> <welcome-file-list> |
Free forum by Nabble | Edit this page |