web.xml revision ec6f3779c641cb13f915072f87a5d11a6b74ba0c
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ DO NOT REMOVE COPYRIGHT NOTICES OR THIS HEADER.
~
~ Copyright (c) 2012 ForgeRock Inc. All rights reserved.
~
~ 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
~ See the License for the specific language governing
~ permission and limitations under the License.
~
~ When distributing Covered Code, include this CDDL
~ Header Notice in each file and include the License file
~ 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]"
-->
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>OpenAM OAuth2 Demo</display-name>
<distributable/>
<!--context-param>
<param-name>org.restlet.application</param-name>
<param-value>org.forgerock.openam.oauth2demo.OAuth2DemoApplication</param-value>
</context-param-->
<!-- context param -->
<!-- filter declaration -->
<!-- filter mapping -->
<!-- listener declaration -->
<servlet>
<servlet-name>RestletDemoAdapter</servlet-name>
<!-- Your application class name (Optional - For mode 3) -->
<init-param>
</init-param>
</servlet>
<!-- servlet declaration -->
<servlet-mapping>
<servlet-name>RestletDemoAdapter</servlet-name>
<url-pattern>/oauth2/*</url-pattern>
</servlet-mapping>
<!-- servlet mapping -->
<mime-mapping>
<extension>ico</extension>
</mime-mapping>
<!-- This tag is for the welcome files such as index.html -->
<welcome-file-list>
<welcome-file>
</welcome-file>
</welcome-file-list>
</web-app>