Add strawman for new origin config.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 22 Jan 2004 19:01:49 +0000 (19:01 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 22 Jan 2004 19:01:49 +0000 (19:01 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@842 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/origin.xsd [new file with mode: 0644]

diff --git a/src/schemas/origin.xsd b/src/schemas/origin.xsd
new file mode 100644 (file)
index 0000000..f5c895c
--- /dev/null
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Open question: how to handle auth method -->
+<xs:schema targetNamespace="urn:mace:shibboleth:origin:1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:credentials="urn:mace:shibboleth:credentials:1.0" xmlns:namemapper="urn:mace:shibboleth:namemapper:1.0" xmlns:origin="urn:mace:shibboleth:origin:1.0" elementFormDefault="qualified" attributeFormDefault="unqualified">
+       <xs:import namespace="urn:mace:shibboleth:credentials:1.0" schemaLocation="credentials.xsd"/>
+       <xs:import namespace="urn:mace:shibboleth:namemapper:1.0" schemaLocation="namemapper.xsd"/>
+       <xs:element name="ShibbolethOriginConfig">
+               <xs:annotation>
+                       <xs:documentation>Configures the Shibboleth Origin software.</xs:documentation>
+               </xs:annotation>
+               <xs:complexType>
+                       <xs:sequence>
+                               <xs:sequence maxOccurs="unbounded">
+                                       <xs:element name="RelyingParty" type="origin:RelyingPartyType" minOccurs="0" maxOccurs="unbounded"/>
+                                       <xs:element name="RelyingPartyGroup" type="origin:RelyingPartyType" minOccurs="0" maxOccurs="unbounded"/>
+                               </xs:sequence>
+                               <xs:element name="ReleasePolicyEngine" minOccurs="0">
+                                       <xs:complexType>
+                                               <xs:attribute name="arpTTL" type="xs:integer" use="optional"/>
+                                       </xs:complexType>
+                               </xs:element>
+                               <xs:sequence>
+                                       <xs:element ref="namemapper:NameMapping" maxOccurs="unbounded"/>
+                               </xs:sequence>
+                               <xs:element ref="credentials:Credentials"/>
+                       </xs:sequence>
+                       <xs:attribute name="resolverConfig" type="xs:string" use="optional" default="/conf/resolver.xml"/>
+                       <xs:attribute name="AAUrl" type="xs:anyURI" use="required"/>
+                       <xs:attribute name="passThruErrors" type="xs:boolean" use="optional" default="false"/>
+                       <xs:attribute name="providerId" type="xs:anyURI" use="required"/>
+               </xs:complexType>
+       </xs:element>
+       <xs:complexType name="RelyingPartyType">
+               <xs:sequence minOccurs="0">
+                       <xs:element name="HSNameFormat">
+                               <xs:complexType>
+                                       <xs:attribute name="nameMapping" type="xs:string" use="required"/>
+                               </xs:complexType>
+                       </xs:element>
+               </xs:sequence>
+               <xs:attribute name="AAUrl" type="xs:anyURI" use="optional"/>
+               <xs:attribute name="passThruErrors" type="xs:boolean" use="optional" default="false"/>
+               <xs:attribute name="providerId" type="xs:anyURI" use="optional"/>
+               <xs:attribute name="signingCredentials" type="xs:string" use="optional"/>
+               <xs:attribute name="name" type="xs:string" use="required"/>
+       </xs:complexType>
+</xs:schema>