Example client cert authN deployment descriptor.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 4 Mar 2003 16:29:29 +0000 (16:29 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 4 Mar 2003 16:29:29 +0000 (16:29 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@530 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

webAppConfig/origin-client-cert.xml [new file with mode: 0644]

diff --git a/webAppConfig/origin-client-cert.xml b/webAppConfig/origin-client-cert.xml
new file mode 100644 (file)
index 0000000..022a13a
--- /dev/null
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!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>
+
+       <filter>
+               <filter-name>Client Cert AuthN Filter</filter-name>
+               <filter-class>
+                       edu.internet2.middleware.shibboleth.utils.ClientCertTrustFilter
+               </filter-class>
+               <init-param>
+                       <param-name>regex</param-name>
+                       <param-value>.*CN=([^,/]+).*</param-value>
+               </init-param>
+                               <init-param>
+                       <param-name>matchGroup</param-name>
+                       <param-value>1</param-value>
+               </init-param>
+       </filter>
+
+       <filter-mapping>
+               <filter-name>Client Cert AuthN Filter</filter-name>
+               <url-pattern>/HS</url-pattern>
+       </filter-mapping>
+       
+       <servlet>
+               <servlet-name>Logging Service</servlet-name>
+               <servlet-class>edu.internet2.middleware.shibboleth.log.LogServ</servlet-class>
+               <init-param>
+                       <param-name>log4jConfigFileLocation</param-name>
+                       <param-value>/conf/log4j.properties</param-value>
+               </init-param>
+               <load-on-startup>1</load-on-startup>
+       </servlet>
+       <servlet>
+               <servlet-name>HS</servlet-name>
+               <display-name>Shibboleth Handle Service</display-name>
+               <servlet-class>edu.internet2.middleware.shibboleth.hs.HandleServlet</servlet-class>
+       </servlet>
+       <servlet>
+               <servlet-name>AA</servlet-name>
+               <display-name>Shibboleth Attribute Authority</display-name>
+               <servlet-class>edu.internet2.middleware.shibboleth.aa.AAServlet</servlet-class>
+       </servlet>
+       
+     <servlet-mapping>
+               <servlet-name>HS</servlet-name>
+               <url-pattern>/HS</url-pattern>
+       </servlet-mapping>
+       <servlet-mapping>
+               <servlet-name>AA</servlet-name>
+               <url-pattern>/AA</url-pattern>
+       </servlet-mapping>
+       
+       <mime-mapping>
+               <extension>css</extension>
+               <mime-type>text/css</mime-type>
+       </mime-mapping>
+       
+</web-app>