Instrumental | 824dc7b | 2018-09-07 11:41:35 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | <web-app xmlns="http://java.sun.com/xml/ns/javaee" |
| 3 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 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"> |
| 6 | <servlet> |
| 7 | <servlet-name>MyServlet</servlet-name> |
| 8 | <servlet-class>org.onap.aaf.sample.cadi.MyServlet</servlet-class> |
| 9 | </servlet> |
| 10 | |
| 11 | <servlet-mapping> |
| 12 | <servlet-name>MyServlet</servlet-name> |
| 13 | <url-pattern>/testme</url-pattern> |
| 14 | </servlet-mapping> |
| 15 | |
| 16 | <filter> |
| 17 | <filter-name>CADI</filter-name> |
| 18 | <filter-class>org.onap.aaf.cadi.filter.CadiFilter</filter-class> |
| 19 | <init-param> |
| 20 | <param-name>cadi_prop_files</param-name> |
| 21 | <param-value>/opt/app/osaafE/client/etc/org.osaaf.aaf.client.props</param-value> |
| 22 | </init-param> |
| 23 | </filter> |
| 24 | |
| 25 | <filter-mapping> |
| 26 | <filter-name>CADI</filter-name> |
| 27 | <url-pattern>/*</url-pattern> |
| 28 | </filter-mapping> |
| 29 | </web-app> |
| 30 | |