A few cleanups, nothing major and no real functionality changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@525960 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -214,10 +214,7 @@ under the License.
|
||||
<response name="error" type="view" value="EditExampleFeatureExampleAppls"/>
|
||||
</request-map>
|
||||
|
||||
<request-map uri="LookupExampleFeature">
|
||||
<security https="true" auth="true"/>
|
||||
<response name="success" type="view" value="LookupExampleFeature"/>
|
||||
</request-map>
|
||||
<request-map uri="LookupExampleFeature"><security https="true" auth="true"/><response name="success" type="view" value="LookupExampleFeature"/></request-map>
|
||||
<!-- end of request mappings -->
|
||||
|
||||
<!-- View Mappings -->
|
||||
|
||||
@@ -24,41 +24,27 @@ under the License.
|
||||
<description>Example Component of the Open For Business 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>example</param-value>
|
||||
<param-name>localDispatcherName</param-name><param-value>example</param-value>
|
||||
<description>A unique name used to identify/recognize the local dispatcher for the Service Engine</description>
|
||||
</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>
|
||||
</context-param>
|
||||
|
||||
<filter>
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<display-name>ContextFilter</display-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><param-name>disableContextSecurity</param-name><param-value>N</param-value></init-param>
|
||||
<init-param>
|
||||
<param-name>allowedPaths</param-name>
|
||||
<param-value>/control:/select:/index.html:/index.jsp:/default.html:/default.jsp:/images:/includes/maincss.css</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>errorCode</param-name>
|
||||
<param-value>403</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>redirectPath</param-name>
|
||||
<param-value>/control/main</param-value>
|
||||
</init-param>
|
||||
<init-param><param-name>errorCode</param-name><param-value>403</param-value></init-param>
|
||||
<init-param><param-name>redirectPath</param-name><param-value>/control/main</param-value></init-param>
|
||||
</filter>
|
||||
<filter-mapping>
|
||||
<filter-name>ContextFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping><filter-name>ContextFilter</filter-name><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>
|
||||
@@ -72,14 +58,9 @@ under the License.
|
||||
<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>
|
||||
<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 --></session-config>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
|
||||
Reference in New Issue
Block a user