Files
ofbiz-plugins/scrum
Jacques Le Roux 646e2e9d47 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-plugins/trunk@1811041 13f79535-47bb-0310-9956-ffa450edef68
2017-10-04 07:12:57 +00:00
..
2017-08-26 21:17:45 +00:00

Apache OFBiz

Scrum component

This OFBiz component enables organisations to manage agile project, product backlogs and sprints.

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/Scrum+Management

issues

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

commits

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

How to install the revision of task function.

Server requirements

  1. subversion

Installation (On server)

  1. Install subversion

  2. Hook script setting 2.1 post-commit file is hook script file that will work when users commit source code to subversion repository. Copy post-commit file from "scrum/data/hookscripts/post-commit" to hooks folder of repository and then edit file following : Example : python /usr/share/subversion/hook-scripts/commit.py "$REPOS" "$REV" 2.2 commit.py file is python file which will send revision information to Scrum web service. Copy commit.py from "scrum/data/hookscripts/commit.py" to "/usr/share/subversion/hook-scripts/" and then edit file following : --------------------------------------------------------------------------------- CONFIG_PATH = "" // the path of the revision.properties should begin from home directory. Example : CONFIG_PATH = "/home/ofbiz/ofbiz/plugins/scrum/config/revision.properties" --------------------------------------------------------------------------------

  3. Configure file setting : The original configure file is in scrum component (/scrum/config/revision.properties) you can put it anywhere that you wish but should be set the path of the file in commit.py file ("CONFIG_PATH="). Example: -------------------------------------------------------------------------------- revision.url =www.example.com/svn/ ofbiz.webservice.url =http://www.example.com/webtools/control/SOAPService host.name =www.example.com host.port =80

         #-- subversion admin and password
         svn.user=demoUser
         svn.password=demoPassword
       --------------------------------------------------------------------------------
    
  4. Change the location path of the updateScrumRevision service in .../scrum/servicedef/services.xml file. Example: -------------------------------------------------------------------------------- --------------------------------------------------------------------------------

  5. Restart the server.