Cleaner app override example.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 29 Feb 2008 21:07:06 +0000 (21:07 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Fri, 29 Feb 2008 21:07:06 +0000 (21:07 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/trunk@2751 cb58f699-b61c-0410-a6fe-9272a202ed29

configs/shibboleth2.xml

index 3070690..fa230c5 100644 (file)
@@ -21,7 +21,7 @@
             Maps IIS Instance ID values to the host scheme/name/port/sslport. The name is
             required so that the proper <Host> in the request map above is found without
             having to cover every possible DNS/IP combination the user might enter.
-            The port and scheme can    usually be omitted, so the HTTP request's port and
+            The port and scheme can usually be omitted, so the HTTP request's port and
             scheme will be used.
             -->
             <Site id="1" name="sp.example.org"/>
             below.
             -->
             <Host name="sp.example.org">
-                <Path name="secure" authType="shibboleth" requireSession="true">
-                    <!-- Example shows the folder "/secure/admin" assigned to a separate <Application> -->
-                    <!--
-                    <Path name="admin" applicationId="foo-admin"/>
-                    -->
-                </Path>
+                <Path name="secure" authType="shibboleth" requireSession="true"/>
             </Host>
+            <!-- Example of a second vhost mapped to a different applicationId. -->
+            <!--
+            <Host name="admin.example.org" applicationId="admin" authType="shibboleth" requireSession="true"/>
+            -->
         </RequestMap>
     </RequestMapper>
 
         <!-- Simple file-based resolver for using a single keypair. -->
         <CredentialResolver type="File" key="sp-key.pem" certificate="sp-cert.pem"/>
 
+        <!-- Example of a second application (using a second vhost) that has a different entityID. -->
+        <!-- <ApplicationOverride id="admin" entityID="https://admin.example.org/shibboleth"/> -->
+
     </ApplicationDefaults>
     
     <!-- Each policy defines a set of rules to use to secure messages. -->