aboutsummaryrefslogtreecommitdiffstats
path: root/ajsc-aai/src/main/config/ajsc-jolokia-override-web.xml
blob: b2421290952eac0539dbf8e1641584ebe29f6a0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
	metadata-complete="false" version="3.0">
	
	<filter-mapping>
		<filter-name>InterceptorFilter</filter-name>
		<url-pattern>/services/*</url-pattern>
	</filter-mapping> 
	<filter-mapping>
		<filter-name>InterceptorFilter</filter-name>
		<url-pattern>/rest/*</url-pattern>
 	</filter-mapping>  

	<filter-mapping>
		<filter-name>springSecurityFilterChain</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
		
	<servlet-mapping>
		<servlet-name>ManagementServlet</servlet-name>
		<url-pattern>/mgmt</url-pattern>
	</servlet-mapping>
	 
	 <servlet-mapping>
			<servlet-name>RestletServlet</servlet-name>
			<url-pattern>/rest/*</url-pattern>
	</servlet-mapping>

 	<servlet-mapping>
		<servlet-name>CamelServlet</servlet-name>
		<url-pattern>/services/*</url-pattern>
	</servlet-mapping>
	
	<servlet>
      <servlet-name>jolokia-agent</servlet-name>
      <servlet-class>org.jolokia.http.AgentServlet</servlet-class>
      <load-on-startup>2</load-on-startup>
    </servlet>

    <servlet-mapping>
      <servlet-name>jolokia-agent</servlet-name>
      <url-pattern>/jolokia/*</url-pattern>
    </servlet-mapping>

</web-app>