<?xml version="1.0" encoding="UTF-8"?>
<!--
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permission and limitations under the License.
*
* When distributing Covered Software, include this CDDL Header Notice in each file and include
* the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
* Header, with the fields enclosed by brackets [] replaced by your own identifying
* information: "Portions Copyrighted [year] [name of copyright owner]".
*
* Copyright 2013-2015 ForgeRock AS.
-->
<web-app version="3.0" 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">
<display-name>OpenAM STS</display-name>
<listener>
<listener-class>org.forgerock.openam.sts.soap.bootstrap.SoapSTSContextListener</listener-class>
</listener>
<filter>
<filter-name>audit_context_filter</filter-name>
<filter-class>org.forgerock.openam.sts.soap.audit.AuditContextFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>audit_context_filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>audit_access_filter</filter-name>
<filter-class>org.forgerock.openam.sts.soap.audit.AuditAccessFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>audit_access_filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!--
Non-spring-based CXF requires a subclass of the CXFNonSpringServlet to be the servlet serving the non-spring
web-services.
-->
<servlet>
<servlet-name>soap_sts</servlet-name>
<servlet-class>org.forgerock.openam.sts.soap.STSBroker</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>soap_sts</servlet-name>
<url-pattern>/sts/*</url-pattern>
</servlet-mapping>
</web-app>