3fdc28c0d0e43b1bfe8b3d95731d127456acfedb
[java-idp.git] / src / schemas / origin.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3         <xs:import namespace="urn:mace:shibboleth:credentials:1.0" schemaLocation="credentials.xsd"/>
4         <xs:import namespace="urn:mace:shibboleth:namemapper:1.0" schemaLocation="namemapper.xsd"/>
5         <xs:element name="ShibbolethOriginConfig">
6                 <xs:annotation>
7                         <xs:documentation>Configures the Shibboleth Origin software.</xs:documentation>
8                 </xs:annotation>
9                 <xs:complexType>
10                         <xs:sequence>
11                                 <xs:sequence>
12                                         <xs:element name="RelyingParty" maxOccurs="unbounded">
13                                                 <xs:complexType>
14                                                         <xs:sequence minOccurs="0">
15                                                                 <xs:element name="HSNameFormat">
16                                                                         <xs:complexType>
17                                                                                 <xs:attribute name="nameMapping" type="xs:string" use="required"/>
18                                                                         </xs:complexType>
19                                                                 </xs:element>
20                                                         </xs:sequence>
21                                                         <xs:attribute name="AAUrl" type="xs:anyURI" use="optional"/>
22                                                         <xs:attribute name="passThruErrors" type="xs:boolean" use="optional"/>
23                                                         <xs:attribute name="providerId" type="xs:anyURI" use="optional"/>
24                                                         <xs:attribute name="signingCredential" type="xs:string" use="optional"/>
25                                                         <xs:attribute name="name" type="xs:string" use="required"/>
26                                                         <xs:attribute name="defaultAuthMethod" type="xs:string" use="optional"/>
27                                                 </xs:complexType>
28                                         </xs:element>
29                                 </xs:sequence>
30                                 <xs:element name="ReleasePolicyEngine" minOccurs="0">
31                                         <xs:complexType>
32                                                 <xs:sequence>
33                                                         <xs:element name="ArpRepository">
34                                                                 <xs:complexType>
35                                                                         <xs:sequence>
36                                                                                 <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
37                                                                         </xs:sequence>
38                                                                         <xs:attribute name="implementation" type="xs:string" use="required"/>
39                                                                         <xs:anyAttribute namespace="##any" processContents="lax"/>
40                                                                 </xs:complexType>
41                                                         </xs:element>
42                                                 </xs:sequence>
43                                         </xs:complexType>
44                                 </xs:element>
45                                 <xs:sequence>
46                                         <xs:element ref="namemapper:NameMapping" maxOccurs="unbounded"/>
47                                 </xs:sequence>
48                                 <xs:element ref="credentials:Credentials"/>
49                         </xs:sequence>
50                         <xs:attribute name="resolverConfig" type="xs:string" use="optional" default="/conf/resolver.xml"/>
51                         <xs:attribute name="AAUrl" type="xs:anyURI" use="optional"/>
52                         <xs:attribute name="providerId" type="xs:anyURI" use="required"/>
53                         <xs:attribute name="defaultRelyingParty" type="xs:anyURI" use="required"/>
54                         <xs:attribute name="defaultAuthMethod" type="xs:string" use="optional" default="urn:oasis:names:tc:SAML:1.0:am:unspecified"/>
55                         <xs:attribute name="passThruErrors" type="xs:boolean" use="optional" default="false"/>
56                         <xs:attribute name="authHeaderName" type="xs:string" use="optional"/>
57                         <xs:attribute name="maxHSThreads" type="xs:integer" use="optional"/>
58                 </xs:complexType>
59         </xs:element>
60 </xs:schema>