3,11 → 3,17 |
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" |
version="2.5"> |
|
|
<context-param> |
<param-name>contextConfigLocation</param-name> |
<param-value>/WEB-INF/cxf-beans.xml</param-value> |
<param-name>log4jConfiguration</param-name> |
<param-value>/WEB-INF/log4j2.xml</param-value> |
</context-param> |
<context-param> |
<param-name>shiroConfigLocations</param-name> |
<param-value>/WEB-INF/shiro.ini</param-value> |
</context-param> |
<context-param> |
<param-name>quartz:config-file</param-name> |
<param-value>quartz.properties</param-value> |
</context-param> |
57,8 → 63,18 |
<servlet> |
<servlet-name>XServices</servlet-name> |
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class> |
<!-- <init-param> |
<param-name>config-location</param-name> |
<param-value>/WEB-INF/cxf-servlet.xml</param-value> |
</init-param> |
--> |
<init-param> |
<param-name>hide-service-list-page</param-name> |
<param-value>false</param-value> |
</init-param> |
<load-on-startup>1</load-on-startup> |
</servlet> |
|
<servlet> |
<servlet-name>QuartzInitializer</servlet-name> |
<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class> |
83,6 → 99,7 |
<servlet-name>XServices</servlet-name> |
<url-pattern>/*</url-pattern> |
</servlet-mapping> |
|
<session-config> |
<session-timeout>30</session-timeout> |
</session-config> |
91,22 → 108,13 |
</welcome-file-list> |
|
<!-- Shiro --> |
|
|
|
<listener> |
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class> |
</listener> |
|
|
|
<filter> |
<filter-name>ShiroFilter</filter-name> |
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class> |
<init-param> |
<param-name>configPath</param-name> |
<param-value>/WEB-INF/shiro.ini</param-value> |
</init-param> |
</filter> |
|
<filter-mapping> |