blob: 44ba656b64b85929dfc4efdc81d2d4165c564a49 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
<?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">
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring-servlet.xml,
classpath:applicationContext.xml
</param-value>
</context-param>
<context-param>
<param-name>spring.profiles.default</param-name>
<param-value>nooauth</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>ManagementServlet</servlet-name>
<servlet-class>ajsc.ManagementServlet</servlet-class>
</servlet>
<filter>
<filter-name>WriteableRequestFilter</filter-name>
<filter-class>com.att.ajsc.csi.writeablerequestfilter.WriteableRequestFilter</filter-class>
</filter>
<filter>
<filter-name>InterceptorFilter</filter-name>
<filter-class>ajsc.filters.InterceptorFilter</filter-class>
<init-param>
<param-name>preProcessor_interceptor_config_file</param-name>
<param-value>/etc/PreProcessorInterceptors.properties</param-value>
</init-param>
<init-param>
<param-name>postProcessor_interceptor_config_file</param-name>
<param-value>/etc/PostProcessorInterceptors.properties</param-value>
</init-param>
</filter>
<servlet>
<servlet-name>RestletServlet</servlet-name>
<servlet-class>ajsc.restlet.RestletSpringServlet</servlet-class>
<init-param>
<param-name>org.restlet.component</param-name>
<param-value>restletComponent</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>CamelServlet</servlet-name>
<servlet-class>ajsc.servlet.AjscCamelServlet</servlet-class>
</servlet>
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<listener>
<listener-class>
org.openecomp.aai.util.AAIAppServletContextListener
</listener-class>
</listener>
<listener>
<listener-class>
org.openecomp.aai.ingestModel.IngestModelListener
</listener-class>
</listener>
<security-constraint>
<web-resource-collection>
<web-resource-name>Open Source</web-resource-name>
<url-pattern>/aai/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>admin</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Test Realm</realm-name>
</login-config>
<security-role>
<role-name>admin</role-name>
</security-role>
</web-app>
|