Improve example config
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 20 Jun 2007 12:40:17 +0000 (12:40 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 20 Jun 2007 12:40:17 +0000 (12:40 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2260 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/conf/relying-party.xml

index 218fb3f..efdb287 100644 (file)
                                        urn:mace:shibboleth:2.0:credential classpath:/schema/shibboleth-2.0-credential.xsd
                                        urn:oasis:names:tc:SAML:2.0:metadata classpath:/schema/saml-schema-metadata-2.0.xsd">
                                        
+    <!-- ========================================== -->
+    <!--      Relying Party Configurations          -->
+    <!-- ========================================== -->
     <AnonymousRelyingParty provider="http://example.org/IdP" />
     
     <DefaultRelyingParty provider="http://example.org/IdP" />
     
-    <RelyingParty id="urn:example.org:unitTestFed"
-                  provider="urn:example.org:unitTest:idp1">
-        <ProfileConfiguration xsi:type="saml:SAML2AttributeQueryProfile" />
+    <RelyingParty id="urn:example.org:myFederation"
+                  provider="urn:example.org:myFederation:idp1">
+        <ProfileConfiguration xsi:type="saml:ShibbolethSSOProfile" />
+        <ProfileConfiguration xsi:type="saml:SAML1AttributeQueryProfile" />
         <ProfileConfiguration xsi:type="saml:SAML2SSOProfile" />
+        <ProfileConfiguration xsi:type="saml:SAML2AttributeQueryProfile" />
     </RelyingParty>
     
-    <MetadataProvider id="UnitTestConf1" xsi:type="InlineMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata">
-        <EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
-            <EntityDescriptor entityID="urn:example.org:unitTest:idp1">
+    
+    
+    <!-- ========================================== -->
+    <!--      Metadata Configuration                -->
+    <!-- ========================================== -->
+
+    <!-- MetadataProvider reading metadata from a URL. -->
+    <!-- Fill in metadataURL and backingFile attributes with deployment specific information -->
+    <!--
+    <MetadataProvider id="URLMD" xsi:type="FileBackedURLMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
+                      metadataURL="http://example.org/my/metadata/file.xml" backingFile="/path/to/temp/location" />
+    -->
+                  
+    <!-- MetadataProvider reading metadata from the filesystem -->
+    <!-- Fill in metadataFile attribute with deployment specific information -->
+    <!--
+    <MetadataProvider id="FSMD" xsi:type="FilesystemMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata"
+                      metadataFile="/path/to/metadata/file.xml" />
+    -->
+    
+    <!-- MetadataProvider defining metadata inline -->
+    <!--
+    <MetadataProvider id="InlineMD" xsi:type="InlineMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata">
+        <EntitiesDescriptor Name="urn:example.org:myFederation" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
+            <EntityDescriptor entityID="urn:example.org:myFederation:idp1">
                 <IDPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
                     <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://example.org/myIdP" />
                 </IDPSSODescriptor>
             </EntityDescriptor>
-            <EntityDescriptor entityID="urn:example.org:unitTest:sp1">
+            <EntityDescriptor entityID="urn:example.org:myFederation:sp1">
                 <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
                     <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://example.org/mySP" index="0" />
                     <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://example.org/mySP" index="0" />
                 </SPSSODescriptor>
             </EntityDescriptor>
-            <EntitiesDescriptor Name="urn:example.org:unitTestFed" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
-                <EntityDescriptor entityID="urn:example.org:unitTestFed:sp2">
-                    <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
-                        <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://example.org/mySP" index="0" />
-                        <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://example.org/mySP" index="0" />
-                    </SPSSODescriptor>
-                </EntityDescriptor>
-            </EntitiesDescriptor>
         </EntitiesDescriptor>
     </MetadataProvider>
-
+    -->
+    
+    <!-- MetadataProvider the combining other MetadataProviders -->
+    <!--
+    <MetadataProvider id="ExampleMD" xsi:type="ChainingMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata">
+        <MetadataProvider id="URLMD" xsi:type="FileBackedURLMetadataProvider"
+                      metadataURL="http://example.org/my/metadata" backingFile="/path/to/temp/location" />
+        <MetadataProvider id="FSMD" xsi:type="FilesystemMetadataProvider" metadataFile="/path/to/metadata/file.xml" />
+    </MetadataProvider>
+    -->
+    
 </RelyingPartyGroup>
\ No newline at end of file