Added ARP engine config to schema.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 29 Jan 2004 22:09:47 +0000 (22:09 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 29 Jan 2004 22:09:47 +0000 (22:09 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@866 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/origin.xsd

index dc0d836..26e363f 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Open question: how to handle auth method -->
-<xs:schema targetNamespace="urn:mace:shibboleth:origin:1.0" xmlns:origin="urn:mace:shibboleth:origin:1.0" xmlns:namemapper="urn:mace:shibboleth:namemapper:1.0" xmlns:credentials="urn:mace:shibboleth:credentials:1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+<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">
@@ -20,7 +19,7 @@
                                                                </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="passThruErrors" type="xs:boolean" use="optional"/>
                                                        <xs:attribute name="providerId" type="xs:anyURI" use="optional"/>
                                                        <xs:attribute name="signingCredential" type="xs:string" use="optional"/>
                                                        <xs:attribute name="name" type="xs:string" use="required"/>
                                </xs:sequence>
                                <xs:element name="ReleasePolicyEngine" minOccurs="0">
                                        <xs:complexType>
+                                               <xs:sequence>
+                                                       <xs:element name="ArpRepository">
+                                                               <xs:complexType>
+                                                                       <xs:sequence>
+                                                                               <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+                                                                       </xs:sequence>
+                                                                       <xs:attribute name="implementation" type="xs:string" use="required"/>
+                                                                       <xs:anyAttribute namespace="##any"/>
+                                                               </xs:complexType>
+                                                       </xs:element>
+                                               </xs:sequence>
                                                <xs:attribute name="arpTTL" type="xs:integer" use="optional"/>
                                        </xs:complexType>
                                </xs:element>
                                <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="AAUrl" type="xs:anyURI" use="optional"/>
                        <xs:attribute name="providerId" type="xs:anyURI" use="required"/>
                        <xs:attribute name="defaultRelyingParty" type="xs:anyURI" use="required"/>
                        <xs:attribute name="defaultAuthMethod" type="xs:string" use="optional" default="urn:oasis:names:tc:SAML:1.0:am:unspecified"/>
+                       <xs:attribute name="passThruErrors" type="xs:boolean" use="optional" default="false"/>
                </xs:complexType>
        </xs:element>
 </xs:schema>