/[Apache-SVN]
ViewVC logotype

Revision 1811041


Jump to revision: Previous Next
Author: jleroux
Date: Wed Oct 4 07:12:57 2017 UTC (6 years, 5 months ago)
Changed paths: 53
Log Message:
Improved: Add session tracking mode and make cookie secure
(OFBIZ-6655)

Programmatically replaces the web.xml <session-config> declarations and uses 
the @WebListener annotation to start the process. This avoid to duplicates 
things everywhere in web.xml files. Since the web.xml files have precedence 
on annotations, the setting can be easily overridden when necessary.

Now that we also use HTTPS in ecommerce the ecommerce session cookie is 
also secured.

I also noted that we had 8 weird <session-timeout> declarations:
    in solr component: <session-timeout>2</session-timeout>
    in themes: <session-timeout>1</session-timeout>

Also in Rainbowstone we lacked the <cookie-config> and <tracking-mode> 
declarations. I think it's not good.

I resolve these points by simply removing the <session-config> in web.xml files 
of themes and Solr.

Thanks: Pradhan Yash Sharma  for review

Changed paths

Path Details
Directoryofbiz/ofbiz-framework/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/commonext/webapp/ordermgr-js/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/content/webapp/content/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/content/webapp/contentimages/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/product/webapp/catalog/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/product/webapp/facility/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/resources/templates/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ControlEventListener.java modified , text changed
Directoryofbiz/ofbiz-framework/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/WebAppServletContextListener.java added
Directoryofbiz/ofbiz-framework/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/bluelight/webapp/bluelight/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/common/webapp/common/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/common/webapp/images/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/flatgrey/webapp/flatgrey/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/multiflex/webapp/multiflex/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/rainbowstone/webapp/rainbowstone/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-framework/trunk/themes/tomahawk/webapp/tomahawk/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/assetmaint/webapp/assetmaint/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/assetmaint/webapp/ismgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/bi/webapp/bi/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/birt/webapp/accounting/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/birt/webapp/birt/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/birt/webapp/facility/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/birt/webapp/ordermgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/cmssite/webapp/cmssite/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/ebay/webapp/ebay/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/ebaystore/webapp/ebaystore/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecommerce/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/ecommerce/webapp/ecomseo/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/example/entitydef/entitymodel_view.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/example/webapp/example/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/exampleext/webapp/exampleext/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/hhfacility/webapp/hhfacility/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/lucene/webapp/content/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/myportal/webapp/myportal/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/pricat/webapp/pricat/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/pricat/webapp/pricatdemo/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/projectmgr/webapp/projectmgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/scrum/webapp/demotest/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/scrum/webapp/scrum/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/solr/webapp/solr/WEB-INF/web.xml modified , text changed
Directoryofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/WEB-INF/web.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26