Files
ofbiz-framework/applications/commonext
Jacques Le Roux 456ad70aca 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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1811041 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 07:12:57 +00:00
..

Apache OFBiz

commonext component

This OFBiz component enables organisations to extend the elements in the common component.

more information

For more information about this component visit the product page in the OFBiz WIKI, which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Extending+the+common+component

issues

JIRA issues related to this component can be found at https://issues.apache.org/jira/browse/OFBIZ/component/12313162

commits

Committed revisions can be viewed at http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext