/[Apache-SVN]
ViewVC logotype

Revision 1761304


Jump to revision: Previous Next
Author: jacopoc
Date: Sun Sep 18 08:08:30 2016 UTC (7 years, 6 months ago)
Changed paths: 51
Log Message:
Implemented: removed the "controller" related logic, that is now provided by the 
new ControlFilter, from the ContextFilter; modified existing applications to use 
the two filters in a chain; removed from the other specialized filters all the 
logic that was duplicated or extended from ContextFilter.

A web application, in order to leverage the OFBiz framework, requires that a 
series of objects are in its contexts (servlet context, session and request) 
such as "delegator", "delegatorName", "dispatcher", "security" etc. etc...
This setup is performed by the logic contained in the servlet filter implemented 
by the ContextFilter class.
The execution of this logic is required for the application to run properly.
However, before this commit, in the ContextFilter there was other logic, related 
to access control and redirection rules (some of them performed in coordination 
with the ControlServlet), making it difficult to deploy this filter in all the 
web applications, especially the ones that implement special handling of paths.
In fact, this filter was deployed in most but not all the web application in the 
OFBiz codebase: specifically it was not deployed in web applications that 
require the execution of other filters (e.g. CatalogUrlFilter, etc...) like the 
ones in the "ecommerce" and "solr" components.



Changed paths

Path Details
Directoryofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/accounting/webapp/ap/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/accounting/webapp/ar/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/commonext/webapp/WEB-INF/web.xml deleted
Directoryofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/content/src/main/java/org/apache/ofbiz/content/content/ContentUrlFilter.java modified , text changed
Directoryofbiz/trunk/applications/content/webapp/content/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/manufacturing/webapp/manufacturing/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/marketing/webapp/marketing/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/marketing/webapp/sfa/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/order/webapp/ordermgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/party/webapp/partymgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/product/src/main/java/org/apache/ofbiz/product/category/CatalogUrlFilter.java modified , text changed
Directoryofbiz/trunk/applications/product/src/main/java/org/apache/ofbiz/product/category/SeoContentUrlFilter.java modified , text changed
Directoryofbiz/trunk/applications/product/src/main/java/org/apache/ofbiz/product/category/SeoContextFilter.java modified , text changed
Directoryofbiz/trunk/applications/product/webapp/catalog/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/product/webapp/facility/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/workeffort/webapp/ical/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/applications/workeffort/webapp/workeffort/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/framework/resources/templates/web.xml modified , text changed
Directoryofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ContextFilter.java modified , text changed
Directoryofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/LoginWorker.java modified , text changed
Directoryofbiz/trunk/framework/webapp/src/main/java/org/apache/ofbiz/webapp/view/JspViewHandler.java modified , text changed
Directoryofbiz/trunk/framework/webtools/webapp/webtools/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/assetmaint/webapp/assetmaint/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/assetmaint/webapp/ismgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/bi/webapp/bi/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/accounting/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/birt/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/facility/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/birt/webapp/ordermgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/cmssite/webapp/cmssite/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/ebay/webapp/ebay/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/ecommerce/src/main/java/org/apache/ofbiz/ecommerce/webapp/view/JspViewHandler.java modified , text changed
Directoryofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/ecommerce/webapp/ecomseo/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/example/webapp/example/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/exampleext/webapp/exampleext/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/lucene/webapp/content/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/myportal/webapp/myportal/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/oagis/webapp/oagis/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/scrum/webapp/demotest/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/scrum/webapp/scrum/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/webapp/OFBizSolrContextFilter.java modified , text changed
Directoryofbiz/trunk/specialpurpose/solr/src/main/java/org/apache/ofbiz/solr/webapp/OFBizSolrRedirectServlet.java modified , text changed
Directoryofbiz/trunk/specialpurpose/solr/webapp/solr/WEB-INF/web.xml modified , text changed
Directoryofbiz/trunk/specialpurpose/webpos/webapp/webpos/WEB-INF/web.xml modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26