Subversion Repositories XServices

Rev

Rev 146 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 146 Rev 185
Line 1... Line 1...
1
<?xml version="1.0" encoding="UTF-8"?>
1
<?xml version="1.0" encoding="UTF-8"?>
2
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
3
	xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
4
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
4
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
5
	version="2.5">
5
	version="2.5">
-
 
6
 
-
 
7
 
6
	<context-param>
8
	<context-param>
-
 
9
        <param-name>log4jConfiguration</param-name>
-
 
10
        <param-value>/WEB-INF/log4j2.xml</param-value>
-
 
11
    </context-param>
-
 
12
    <context-param>
7
		<param-name>contextConfigLocation</param-name>
13
    	<param-name>shiroConfigLocations</param-name>
8
		<param-value>/WEB-INF/cxf-beans.xml</param-value>
14
    	<param-value>/WEB-INF/shiro.ini</param-value>
9
	</context-param>
15
	</context-param>
10
	<context-param>
16
	<context-param>
11
		<param-name>quartz:config-file</param-name>
17
		<param-name>quartz:config-file</param-name>
12
		<param-value>quartz.properties</param-value>
18
		<param-value>quartz.properties</param-value>
13
	</context-param>
19
	</context-param>
Line 55... Line 61...
55
 
61
 
56
 
62
 
57
	<servlet>
63
	<servlet>
-
 
64
		<servlet-name>XServices</servlet-name>
-
 
65
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
-
 
66
		<!-- <init-param>
-
 
67
			<param-name>config-location</param-name>
-
 
68
			<param-value>/WEB-INF/cxf-servlet.xml</param-value>
-
 
69
		</init-param>
-
 
70
		-->
-
 
71
		<init-param>
-
 
72
        	<param-name>hide-service-list-page</param-name>
58
		<servlet-name>XServices</servlet-name>
73
        	<param-value>false</param-value>
59
		<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
74
    </init-param> 
-
 
75
		<load-on-startup>1</load-on-startup>
60
		<load-on-startup>1</load-on-startup>
76
	</servlet>
61
	</servlet>
77
	
62
	<servlet>
78
	<servlet>
63
		<servlet-name>QuartzInitializer</servlet-name>
79
		<servlet-name>QuartzInitializer</servlet-name>
64
		<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
80
		<servlet-class>org.quartz.ee.servlet.QuartzInitializerServlet</servlet-class>
Line 81... Line 97...
81
 
97
 
82
	<servlet-mapping>
98
	<servlet-mapping>
83
		<servlet-name>XServices</servlet-name>
99
		<servlet-name>XServices</servlet-name>
84
		<url-pattern>/*</url-pattern>
100
		<url-pattern>/*</url-pattern>
-
 
101
	</servlet-mapping>
85
	</servlet-mapping>
102
	
86
	<session-config>
103
	<session-config>
87
		<session-timeout>30</session-timeout>
104
		<session-timeout>30</session-timeout>
88
	</session-config>
105
	</session-config>
89
	<welcome-file-list>
106
	<welcome-file-list>
90
		<welcome-file>index.html</welcome-file>
107
		<welcome-file>index.html</welcome-file>
Line 91... Line 108...
91
	</welcome-file-list>
108
	</welcome-file-list>
92
 
-
 
93
	<!-- Shiro -->
-
 
94
 
-
 
95
 
109
 
96
 
110
	<!-- Shiro -->
97
	<listener>
111
	<listener>
Line 98... Line -...
98
		<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
-
 
99
	</listener>
-
 
100
 
112
		<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
101
 
113
	</listener>
102
 
114
 
103
	<filter>
-
 
104
		<filter-name>ShiroFilter</filter-name>
-
 
105
		<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
-
 
106
		<init-param>
-
 
107
			<param-name>configPath</param-name>
115
	<filter>
Line 108... Line 116...
108
			<param-value>/WEB-INF/shiro.ini</param-value>
116
		<filter-name>ShiroFilter</filter-name>
109
		</init-param>
117
		<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
110
	</filter>
118
	</filter>