82 lines
2.7 KiB
XML
82 lines
2.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
|
|
|
|
<web-app>
|
|
<display-name>Java CAS Client</display-name>
|
|
|
|
<!--
|
|
- Location of the XML file that defines the root application context
|
|
- Applied by ContextLoaderListener.
|
|
-->
|
|
<context-param>
|
|
<param-name>contextConfigLocation</param-name>
|
|
<param-value>
|
|
/WEB-INF/simpleFilter.xml
|
|
</param-value>
|
|
</context-param>
|
|
|
|
<filter>
|
|
<filter-name>CAS Authentication Filter</filter-name>
|
|
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
|
|
<init-param>
|
|
<param-name>targetBeanName</param-name>
|
|
<param-value>casAuthenticationFilter</param-value>
|
|
</init-param>
|
|
</filter>
|
|
|
|
<filter>
|
|
<filter-name>CAS Validation Filter</filter-name>
|
|
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
|
|
<init-param>
|
|
<param-name>targetBeanName</param-name>
|
|
<param-value>casValidationFilter</param-value>
|
|
</init-param>
|
|
</filter>
|
|
|
|
<filter>
|
|
<filter-name>CAS Authorization Filter</filter-name>
|
|
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
|
|
<init-param>
|
|
<param-name>targetBeanName</param-name>
|
|
<param-value>casAuthorizationFilter</param-value>
|
|
</init-param>
|
|
</filter>
|
|
|
|
<filter-mapping>
|
|
<filter-name>CAS Authentication Filter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<filter-mapping>
|
|
<filter-name>CAS Validation Filter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<filter-mapping>
|
|
<filter-name>CAS Authorization Filter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</filter-mapping>
|
|
|
|
<!--
|
|
- Loads the root application context of this web app at startup.
|
|
- The application context is then available via
|
|
- WebApplicationContextUtils.getWebApplicationContext(servletContext).
|
|
-->
|
|
<listener>
|
|
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
|
</listener>
|
|
|
|
<!--
|
|
- Provides core MVC application controller. See contacts-servlet.xml.
|
|
-->
|
|
<servlet>
|
|
<servlet-name>casclient</servlet-name>
|
|
<servlet-class>org.jasig.cas.client.proxy.SpringConfiguredProxyReceptorServlet</servlet-class>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>casclient</servlet-name>
|
|
<url-pattern>/proxy/Receptor</url-pattern>
|
|
</servlet-mapping>
|
|
</web-app> |