Created
August 20, 2020 14:28
-
-
Save gayashanbc/48f46b7b6c95900fff0c59b25c70c5d9 to your computer and use it in GitHub Desktop.
web.xml of SampleApp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
~ Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. | |
~ | |
~ WSO2 Inc. licenses this file to you under the Apache License, | |
~ Version 2.0 (the "License"); you may not use this file except | |
~ in compliance with the License. | |
~ You may obtain a copy of the License at | |
~ | |
~ http://www.apache.org/licenses/LICENSE-2.0 | |
~ | |
~ Unless required by applicable law or agreed to in writing, | |
~ software distributed under the License is distributed on an | |
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
~ KIND, either express or implied. See the License for the | |
~ specific language governing permissions and limitations | |
~ under the License. | |
--> | |
<web-app id="SampleApp" version="2.5" | |
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_2_5.xsd"> | |
<display-name>SampleApp</display-name> | |
<filter> | |
<filter-name>SAML2SSOAgentFilter</filter-name> | |
<filter-class>org.wso2.carbon.identity.sso.tomcat.server.SAML2SSOAgentFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>SAML2SSOAgentFilter</filter-name> | |
<url-pattern>*.jsp</url-pattern> | |
</filter-mapping> | |
<filter-mapping> | |
<filter-name>SAML2SSOAgentFilter</filter-name> | |
<url-pattern>*.html</url-pattern> | |
</filter-mapping> | |
<filter-mapping> | |
<filter-name>SAML2SSOAgentFilter</filter-name> | |
<url-pattern>/samlsso</url-pattern> | |
</filter-mapping> | |
<filter-mapping> | |
<filter-name>SAML2SSOAgentFilter</filter-name> | |
<url-pattern>/logout</url-pattern> | |
</filter-mapping> | |
<listener> | |
<listener-class>org.wso2.carbon.identity.sso.tomcat.server.SSOAgentContextEventListener</listener-class> | |
</listener> | |
<context-param> | |
<param-name>property-file</param-name> | |
<param-value>sampleApp.properties</param-value> | |
</context-param> | |
<context-param> | |
<param-name>certificate-file</param-name> | |
<param-value>wso2carbon.jks</param-value> | |
</context-param> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment