Added site groups.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 12 Jun 2002 01:24:51 +0000 (01:24 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 12 Jun 2002 01:24:51 +0000 (01:24 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@72 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/shibboleth.xsd

index ca1404a..63f5cbd 100644 (file)
@@ -32,6 +32,7 @@
         </sequence>
         <attribute name="Name" type="string" use="required"/>
     </complexType>
+    
     <complexType name="OriginSiteType">
         <annotation>Origin sites add at least one handle service (with a name and optional KeyInfo), plus optional domains trusted for attribute scoping.</annotation>
         <complexContent>
@@ -43,6 +44,7 @@
                                 <element ref="ds:KeyInfo" minOccurs="0"/>
                             </sequence>
                             <attribute name="Name" type="string" use="required"/>
+                            <attribute name="Location" type="anyURI" use="required"/>
                         </complexType>
                     </element>
                     <element name="Domain" type="string" minOccurs="0" maxOccurs="unbounded"/>
             </extension>
         </complexContent>
     </complexType>
+
+    <complexType name="SiteGroupType">
+        <annotation>Used to logically group sites together.</annotation>
+        <sequence>
+            <choice maxOccurs="unbounded">
+                <element ref="shib:OriginSite"/>
+                <element ref="shib:DestinationSite"/>
+                <element ref="shib:SiteGroup"/>
+            </choice>
+        </sequence>
+        <attribute name="Name" type="string" use="required"/>
+    </complexType>    
+
     <element name="OriginSite" type="shib:OriginSiteType"/>
     <element name="DestinationSite" type="shib:SiteType"/>
+    <element name="SiteGroup" type="shib:SiteGroupType"/>
+
     <element name="Sites">
-        <annotation> The registry of sites plus an optional enveloped signature. </annotation>
+        <annotation>The registry of sites plus an optional enveloped signature.</annotation>
         <complexType>
             <sequence>
                 <choice maxOccurs="unbounded">
                     <element ref="shib:OriginSite"/>
                     <element ref="shib:DestinationSite"/>
+                    <element ref="shib:SiteGroup"/>
                 </choice>
                 <element ref="ds:Signature" minOccurs="0"/>
             </sequence>