https://bugs.internet2.edu/jira/browse/SSPCPP-287
[shibboleth/sp.git] / schemas / shibboleth-2.0-native-sp-config.xsd
1 <?xml version="1.0" encoding="US-ASCII"?>
2 <schema targetNamespace="urn:mace:shibboleth:2.0:native:sp:config"
3         xmlns="http://www.w3.org/2001/XMLSchema"
4         xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
5     xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
6         xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
7         xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
8         xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
9         elementFormDefault="qualified"
10         attributeFormDefault="unqualified"
11         blockDefault="substitution"
12         version="2.4">
13
14   <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />
15   <import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
16   <import namespace="urn:oasis:names:tc:SAML:2.0:protocol" schemaLocation="saml-schema-protocol-2.0.xsd"/>
17   <import namespace="urn:oasis:names:tc:SAML:2.0:metadata" schemaLocation="saml-schema-metadata-2.0.xsd"/>
18
19   <annotation>
20     <documentation>
21       2.0 schema for XML-based configuration of Shibboleth Native SP instances.
22       First appearing in Shibboleth 2.0 release.
23     </documentation>
24   </annotation>
25
26   <simpleType name="string">
27     <restriction base="string">
28       <minLength value="1"/>
29     </restriction>
30   </simpleType>
31
32   <simpleType name="listOfStrings">
33     <list itemType="conf:string"/>
34   </simpleType>
35
36   <simpleType name="listOfURIs">
37     <list itemType="anyURI"/>
38   </simpleType>
39
40   <simpleType name="bindingBoolean">
41     <restriction base="string">
42       <enumeration value="true"/>
43       <enumeration value="false"/>
44       <enumeration value="front"/>
45       <enumeration value="back"/>
46     </restriction>
47   </simpleType>
48
49   <complexType name="PluggableType">
50     <sequence>
51       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
52     </sequence>
53     <attribute name="type" type="conf:string" use="required"/>
54     <anyAttribute namespace="##any" processContents="lax"/>
55   </complexType>
56
57   <complexType name="ExtensionsType">
58     <annotation>
59       <documentation>Container for extension libraries and custom configuration</documentation>
60     </annotation>
61     <sequence>
62       <element name="Library" minOccurs="0" maxOccurs="unbounded">
63         <complexType>
64           <sequence>
65             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
66           </sequence>
67           <attribute name="path" type="anyURI" use="required"/>
68           <attribute name="fatal" type="boolean"/>
69           <anyAttribute namespace="##any" processContents="lax"/>
70         </complexType>
71       </element>
72       <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
73     </sequence>
74   </complexType>
75
76   <complexType name="StorageServiceType">
77     <annotation>
78       <documentation>References StorageService plugins</documentation>
79     </annotation>
80     <complexContent>
81       <restriction base="conf:PluggableType">
82         <sequence>
83           <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
84         </sequence>
85         <attribute name="id" type="ID" use="required"/>
86         <attribute name="cleanupInterval" type="unsignedInt"/>
87         <anyAttribute namespace="##any" processContents="lax"/>
88       </restriction>
89     </complexContent>
90   </complexType>
91
92   <complexType name="SessionCacheType">
93     <annotation>
94       <documentation>References SessionCache plugins</documentation>
95     </annotation>
96     <complexContent>
97       <restriction base="conf:PluggableType">
98         <sequence>
99           <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
100         </sequence>
101         <attribute name="StorageService" type="IDREF"/>
102         <attribute name="cacheAllowance" type="unsignedInt"/>
103         <attribute name="cacheTimeout" type="unsignedInt"/> <!-- deprecated -->
104         <anyAttribute namespace="##any" processContents="lax"/>
105       </restriction>
106     </complexContent>
107   </complexType>
108
109   <complexType name="ReplayCacheType">
110     <annotation>
111       <documentation>Ties ReplayCache to a custom StorageService</documentation>
112     </annotation>
113     <sequence/>
114     <attribute name="StorageService" type="IDREF"/>
115   </complexType>
116
117   <complexType name="ArtifactMapType">
118     <annotation>
119       <documentation>Customizes an ArtifactMap</documentation>
120     </annotation>
121     <sequence/>
122     <attribute name="StorageService" type="IDREF"/>
123     <attribute name="context" type="conf:string"/>
124     <attribute name="artifactTTL" type="unsignedInt"/>
125   </complexType>
126
127   <complexType name="OutOfProcessType">
128     <annotation>
129       <documentation>Container for out-of-process (shibd) configuration</documentation>
130     </annotation>
131     <sequence>
132       <element name="Extensions" type="conf:ExtensionsType" minOccurs="0"/>
133       <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
134     </sequence>
135     <attribute name="logger" type="anyURI"/>
136     <attribute name="catchAll" type="boolean"/>
137     <anyAttribute namespace="##other" processContents="lax"/>
138   </complexType>
139
140   <complexType name="InProcessType">
141     <annotation>
142       <documentation>
143         Container for configuration of locally integrated or platform-specific
144         features (e.g. web server filters)
145       </documentation>
146     </annotation>
147     <sequence>
148       <element name="Extensions" type="conf:ExtensionsType" minOccurs="0"/>
149       <element name="ISAPI" minOccurs="0">
150         <complexType>
151           <sequence>
152             <element name="Site" maxOccurs="unbounded">
153               <complexType>
154                 <sequence>
155                   <element name="Alias" type="conf:string" minOccurs="0" maxOccurs="unbounded"/>
156                 </sequence>
157                 <attribute name="id" type="unsignedInt" use="required"/>
158                 <attribute name="name" type="conf:string" use="required"/>
159                 <attribute name="port" type="unsignedInt"/>
160                 <attribute name="sslport" type="unsignedInt"/>
161                 <attribute name="scheme" type="conf:string"/>
162               </complexType>
163             </element>
164             <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
165           </sequence>
166           <attribute name="normalizeRequest" type="boolean"/>
167           <attribute name="safeHeaderNames" type="boolean"/>
168           <anyAttribute namespace="##other" processContents="lax"/>
169         </complexType>
170       </element>
171       <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
172     </sequence>
173     <attribute name="logger" type="anyURI"/>
174     <attribute name="unsetHeaderValue" type="conf:string"/>
175     <attribute name="checkSpoofing" type="boolean"/>
176     <attribute name="spoofKey" type="conf:string"/>
177     <attribute name="catchAll" type="boolean"/>
178     <anyAttribute namespace="##other" processContents="lax"/>
179   </complexType>
180
181   <element name="AccessControl" type="conf:UniOperatorType">
182     <annotation>
183       <documentation>
184         A simple example access policy language extension that supersedes Apache .htaccess
185       </documentation>
186     </annotation>
187   </element>
188   <complexType name="UniOperatorType">
189     <choice>
190       <element name="AND" type="conf:MultiOperatorType"/>
191       <element name="OR" type="conf:MultiOperatorType"/>
192       <element name="NOT" type="conf:UniOperatorType"/>
193       <element name="Rule" type="conf:RuleType"/>
194       <element name="RuleRegex" type="conf:RuleRegexType"/>
195     </choice>
196   </complexType>
197   <complexType name="MultiOperatorType">
198     <choice minOccurs="2" maxOccurs="unbounded">
199       <element name="AND" type="conf:MultiOperatorType"/>
200       <element name="OR" type="conf:MultiOperatorType"/>
201       <element name="NOT" type="conf:UniOperatorType"/>
202       <element name="Rule" type="conf:RuleType"/>
203       <element name="RuleRegex" type="conf:RuleRegexType"/>
204     </choice>
205   </complexType>
206   <complexType name="RuleType">
207     <simpleContent>
208       <extension base="conf:listOfStrings">
209         <attribute name="require" type="conf:string" use="required"/>
210         <attribute name="list" type="boolean"/>
211       </extension>
212     </simpleContent>
213   </complexType>
214   <complexType name="RuleRegexType">
215     <simpleContent>
216       <extension base="conf:string">
217         <attribute name="require" type="conf:string" use="required"/>
218         <attribute name="ignoreCase" type="boolean"/>
219       </extension>
220     </simpleContent>
221   </complexType>
222
223   <attributeGroup name="ContentSettings">
224     <attribute name="applicationId" type="conf:string"/>
225     <attribute name="authType" type="conf:string"/>
226     <attribute name="requireSession" type="boolean"/>
227     <attribute name="requireSessionWith" type="conf:string"/>
228     <attribute name="exportAssertion" type="boolean"/>
229     <attribute name="redirectToSSL" type="unsignedInt"/>
230     <attribute name="entityID" type="anyURI"/>
231     <attribute name="discoveryURL" type="anyURI"/>
232     <attribute name="isPassive" type="boolean"/>
233     <attribute name="returnOnError" type="boolean"/>
234     <attribute name="forceAuthn" type="boolean"/>
235     <attribute name="authnContextClassRef" type="anyURI"/>
236     <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
237     <attribute name="NameIDFormat" type="anyURI"/>
238     <attribute name="SPNameQualifier" type="conf:string"/>
239     <attribute name="redirectErrors" type="anyURI"/>
240     <attribute name="sessionError" type="anyURI"/>
241     <attribute name="metadataError" type="anyURI"/>
242     <attribute name="accessError" type="anyURI"/>
243     <attribute name="sslError" type="anyURI"/>
244     <attribute name="target" type="anyURI"/>
245     <attribute name="acsIndex" type="unsignedShort"/>
246     <attribute name="REMOTE_ADDR" type="conf:string"/>
247     <anyAttribute namespace="##other" processContents="lax"/>
248   </attributeGroup>
249
250   <element name="RequestMap">
251     <annotation>
252       <documentation>
253         Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
254       </documentation>
255     </annotation>
256     <complexType>
257       <sequence>
258         <choice minOccurs="0">
259           <element name="htaccess" type="conf:PluggableType"/>
260           <element ref="conf:AccessControl"/>
261           <element name="AccessControlProvider" type="conf:PluggableType"/>
262         </choice>
263         <choice minOccurs="0" maxOccurs="unbounded">
264           <element name="Host" type="conf:HostType"/>
265           <element name="HostRegex" type="conf:HostRegexType"/>
266         </choice>
267         <element ref="ds:Signature" minOccurs="0"/>
268       </sequence>
269       <attribute name="unicodeAware" type="boolean"/>
270       <attributeGroup ref="conf:ContentSettings"/>
271     </complexType>
272   </element>
273
274   <complexType name="HostType">
275     <sequence>
276       <choice minOccurs="0">
277         <element name="htaccess" type="conf:PluggableType"/>
278         <element ref="conf:AccessControl"/>
279         <element name="AccessControlProvider" type="conf:PluggableType"/>
280       </choice>
281       <choice minOccurs="0" maxOccurs="unbounded">
282         <element name="Path" type="conf:PathType"/>
283         <element name="PathRegex" type="conf:PathRegexType"/>
284         <element name="Query" type="conf:QueryType"/>
285       </choice>
286     </sequence>
287     <attribute name="scheme">
288       <simpleType>
289         <restriction base="conf:string">
290           <enumeration value="http"/>
291           <enumeration value="https"/>
292           <enumeration value="ftp"/>
293           <enumeration value="ldap"/>
294           <enumeration value="ldaps"/>
295         </restriction>
296       </simpleType>
297     </attribute>
298     <attribute name="name" type="conf:string" use="required"/>
299     <attribute name="port" type="unsignedInt"/>
300     <attributeGroup ref="conf:ContentSettings"/>
301   </complexType>
302
303   <complexType name="HostRegexType">
304     <sequence>
305       <choice minOccurs="0">
306         <element name="htaccess" type="conf:PluggableType"/>
307         <element ref="conf:AccessControl"/>
308         <element name="AccessControlProvider" type="conf:PluggableType"/>
309       </choice>
310       <choice minOccurs="0" maxOccurs="unbounded">
311         <element name="Path" type="conf:PathType"/>
312         <element name="PathRegex" type="conf:PathRegexType"/>
313         <element name="Query" type="conf:QueryType"/>
314       </choice>
315     </sequence>
316     <attribute name="regex" type="conf:string" use="required"/>
317     <attribute name="ignoreCase" type="boolean"/>
318     <attributeGroup ref="conf:ContentSettings"/>
319   </complexType>
320
321   <complexType name="PathType">
322     <sequence>
323       <choice minOccurs="0">
324         <element name="htaccess" type="conf:PluggableType"/>
325         <element ref="conf:AccessControl"/>
326         <element name="AccessControlProvider" type="conf:PluggableType"/>
327       </choice>
328       <choice minOccurs="0" maxOccurs="unbounded">
329         <element name="Path" type="conf:PathType"/>
330         <element name="PathRegex" type="conf:PathRegexType"/>
331         <element name="Query" type="conf:QueryType"/>
332       </choice>
333     </sequence>
334     <attribute name="name" type="conf:string" use="required"/>
335     <attributeGroup ref="conf:ContentSettings"/>
336   </complexType>
337
338   <complexType name="PathRegexType">
339     <sequence>
340       <choice minOccurs="0">
341         <element name="htaccess" type="conf:PluggableType"/>
342         <element ref="conf:AccessControl"/>
343         <element name="AccessControlProvider" type="conf:PluggableType"/>
344       </choice>
345       <element name="Query" type="conf:QueryType" minOccurs="0" maxOccurs="unbounded"/>
346     </sequence>
347     <attribute name="regex" type="conf:string" use="required"/>
348     <attribute name="ignoreCase" type="boolean"/>
349     <attributeGroup ref="conf:ContentSettings"/>
350   </complexType>
351
352   <complexType name="QueryType">
353     <sequence>
354       <choice minOccurs="0">
355         <element name="htaccess" type="conf:PluggableType"/>
356         <element ref="conf:AccessControl"/>
357         <element name="AccessControlProvider" type="conf:PluggableType"/>
358       </choice>
359       <element name="Query" type="conf:QueryType" minOccurs="0" maxOccurs="unbounded"/>
360     </sequence>
361     <attribute name="name" type="conf:string" use="required"/>
362     <attribute name="regex" type="conf:string"/>
363     <attributeGroup ref="conf:ContentSettings"/>
364   </complexType>
365
366   <complexType name="ApplicationDefaultsType">
367     <annotation>
368       <documentation>Container for default settings and application-specific overrides</documentation>
369     </annotation>
370     <sequence>
371       <element name="Sessions" type="conf:SessionsType"/>
372       <element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
373       <choice minOccurs="0" maxOccurs="unbounded">
374         <element name="RelyingParty" type="conf:RelyingPartyType"/>
375         <element name="Notify" type="conf:NotifyType"/>
376         <element ref="saml:Audience"/>
377         <element name="MetadataProvider" type="conf:PluggableType"/>
378         <element name="TrustEngine" type="conf:PluggableType"/>
379         <element name="AttributeExtractor" type="conf:PluggableType"/>
380         <element name="AttributeResolver" type="conf:PluggableType"/>
381         <element name="AttributeFilter" type="conf:PluggableType"/>
382         <element name="CredentialResolver" type="conf:PluggableType"/>
383         <element name="ApplicationOverride" type="conf:ApplicationOverrideType"/>
384       </choice>
385     </sequence>
386     <attribute name="id" type="conf:string" fixed="default"/>
387     <attribute name="entityID" type="anyURI" use="required"/>
388     <attribute name="policyId" type="conf:string"/>
389     <attributeGroup ref="conf:ApplicationGroup"/>
390     <attributeGroup ref="conf:RelyingPartyGroup"/>
391     <anyAttribute namespace="##other" processContents="lax"/>
392   </complexType>
393
394   <complexType name="ApplicationOverrideType">
395     <annotation>
396       <documentation>Container for application-specific overrides</documentation>
397     </annotation>
398     <sequence>
399       <element name="Sessions" type="conf:SessionsType" minOccurs="0"/>
400       <element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
401       <choice minOccurs="0" maxOccurs="unbounded">
402         <element name="RelyingParty" type="conf:RelyingPartyType"/>
403         <element name="Notify" type="conf:NotifyType"/>
404         <element ref="saml:Audience"/>
405         <element name="MetadataProvider" type="conf:PluggableType"/>
406         <element name="TrustEngine" type="conf:PluggableType"/>
407         <element name="AttributeExtractor" type="conf:PluggableType"/>
408         <element name="AttributeResolver" type="conf:PluggableType"/>
409         <element name="AttributeFilter" type="conf:PluggableType"/>
410         <element name="CredentialResolver" type="conf:PluggableType"/>
411       </choice>
412     </sequence>
413     <attribute name="id" type="conf:string" use="required"/>
414     <attribute name="entityID" type="anyURI"/>
415     <attribute name="policyId" type="conf:string"/>
416     <attributeGroup ref="conf:ApplicationGroup"/>
417     <attributeGroup ref="conf:RelyingPartyGroup"/>
418     <anyAttribute namespace="##other" processContents="lax"/>
419   </complexType>
420
421   <attributeGroup name="ApplicationGroup">
422     <attribute name="homeURL" type="anyURI"/>
423     <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
424     <attribute name="unsetHeaders" type="conf:listOfStrings"/>
425     <attribute name="metadataAttributePrefix" type="conf:string"/>
426     <attribute name="attributePrefix" type="conf:string"/>
427   </attributeGroup>
428
429   <attributeGroup name="RelyingPartyGroup">
430     <attribute name="authType" type="conf:string"/>
431     <attribute name="authUsername" type="conf:string"/>
432     <attribute name="authPassword" type="conf:string"/>
433     <attribute name="signing" type="conf:bindingBoolean"/>
434     <attribute name="signingAlg" type="anyURI"/>
435     <attribute name="digestAlg" type="anyURI"/>
436     <attribute name="encryption" type="conf:bindingBoolean"/>
437     <attribute name="encryptionAlg" type="anyURI"/>
438     <attribute name="keyName" type="conf:string"/>
439     <attribute name="artifactEndpointIndex" type="unsignedShort"/>
440     <attribute name="chunkedEncoding" type="boolean"/>
441     <attribute name="connectTimeout" type="unsignedShort"/>
442     <attribute name="timeout" type="unsignedShort"/>
443     <attribute name="requireConfidentiality" type="boolean"/>
444     <attribute name="requireTransportAuth" type="boolean"/>
445     <attribute name="requireSignedAssertions" type="boolean"/>
446   </attributeGroup>
447     
448   <complexType name="SessionsType">
449     <annotation>
450       <documentation>Container for specifying protocol handlers and session policy</documentation>
451     </annotation>
452     <sequence>
453       <element name="SSO" minOccurs="0">
454         <complexType>
455           <annotation>
456             <documentation>Implicitly configures SessionInitiator and AssertionConsumerService handlers</documentation>
457           </annotation>
458           <simpleContent>
459             <extension base="conf:listOfStrings">
460               <attribute name="discoveryProtocol" type="conf:string"/>
461               <attribute name="discoveryURL" type="anyURI"/>
462               <attributeGroup ref="conf:SessionInitiatorGroup"/>
463             </extension>
464           </simpleContent>
465         </complexType>
466       </element>
467       <element name="Logout" minOccurs="0">
468         <complexType>
469           <annotation>
470             <documentation>Implicitly configures LogoutInitiator and SingleLogoutService handlers</documentation>
471           </annotation>
472           <simpleContent>
473             <extension base="conf:listOfStrings">
474               <attributeGroup ref="conf:LogoutInitiatorGroup"/>
475             </extension>
476           </simpleContent>
477         </complexType>
478       </element>
479       <element name="NameIDMgmt" type="conf:listOfStrings" minOccurs="0">
480         <annotation>
481           <documentation>Implicitly configures ManageNameIDService handlers</documentation>
482         </annotation>
483       </element>
484       <choice minOccurs="0" maxOccurs="unbounded">
485         <element ref="conf:SessionInitiator"/>
486         <element ref="conf:LogoutInitiator"/>
487         <element ref="md:AssertionConsumerService"/>
488         <element ref="md:ArtifactResolutionService"/>
489         <element ref="md:SingleLogoutService"/>
490         <element ref="md:ManageNameIDService"/>
491         <element ref="conf:Handler"/>
492       </choice>
493     </sequence>
494     <attribute name="handlerURL" type="anyURI"/>
495     <attribute name="handlerSSL" type="boolean"/>
496     <attribute name="exportLocation" type="conf:string"/>
497     <attribute name="exportACL" type="conf:listOfStrings"/>
498     <attribute name="cookieName" type="conf:string"/>
499     <attribute name="cookieProps" type="conf:string"/>
500     <attribute name="cookieLifetime" type="unsignedInt"/>
501     <attribute name="idpHistory" type="boolean"/>
502     <attribute name="idpHistoryDays" type="unsignedInt"/>
503     <attribute name="lifetime" type="unsignedInt"/>
504     <attribute name="timeout" type="unsignedInt"/>
505     <attribute name="maxTimeSinceAuthn" type="unsignedInt"/>
506     <attribute name="checkAddress" type="boolean"/>
507     <attribute name="consistentAddress" type="boolean"/>
508     <attribute name="postData" type="conf:string"/>
509     <attribute name="postLimit" type="positiveInteger"/>
510     <attribute name="postTemplate" type="conf:string"/>
511     <attribute name="postExpire" type="boolean"/>
512     <attribute name="relayState" type="conf:string"/>
513     <anyAttribute namespace="##other" processContents="lax"/>
514   </complexType>
515
516   <attribute name="policyId" type="conf:string">
517     <annotation>
518       <documentation>Used to override Policy from profile endpoints</documentation>
519     </annotation>
520   </attribute>
521
522   <attributeGroup name="SessionInitiatorGroup">
523     <annotation>
524       <documentation>Options common to explicit and implicit SessionInitiators</documentation>
525     </annotation>
526     <attribute name="relayState" type="conf:string"/>
527     <attribute name="entityIDParam" type="conf:string"/>
528     <attribute name="entityID" type="anyURI"/>
529     <attribute name="outgoingBindings" type="conf:listOfURIs"/>
530     <attribute name="preservedOptions" type="conf:listOfStrings"/>
531     <attribute name="template" type="anyURI"/>
532     <attribute name="postArtifact" type="boolean"/>
533     <attribute name="acsByIndex" type="boolean"/>
534     <attribute name="isPassive" type="boolean"/>
535     <attribute name="returnOnError" type="boolean"/>
536     <attribute name="forceAuthn" type="boolean"/>
537     <attribute name="authnContextClassRef" type="anyURI"/>
538     <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
539     <attribute name="NameIDFormat" type="anyURI"/>
540     <attribute name="SPNameQualifier" type="conf:string"/>
541     <attribute name="requestDelegation" type="boolean"/>
542     <attribute name="target" type="anyURI"/>
543     <anyAttribute namespace="##any" processContents="lax"/>
544   </attributeGroup>
545
546   <element name="SessionInitiator">
547     <annotation>
548       <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
549     </annotation>
550     <complexType>
551       <complexContent>
552         <restriction base="conf:PluggableType">
553           <sequence>
554             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
555           </sequence>
556           <attribute name="Location" type="anyURI"/>
557           <attribute name="id" type="conf:string"/>
558           <attribute name="isDefault" type="boolean"/>
559           <attribute name="URL" type="anyURI"/>
560           <attribute name="acsIndex" type="unsignedShort"/>
561           <attribute name="defaultACSIndex" type="unsignedShort"/>  <!-- deprecated -->
562           <attributeGroup ref="conf:SessionInitiatorGroup"/>
563         </restriction>
564       </complexContent>
565     </complexType>
566   </element>
567
568   <attributeGroup name="LogoutInitiatorGroup">
569     <annotation>
570       <documentation>Options common to explicit and implicit LogoutInitiators</documentation>
571     </annotation>
572     <attribute name="relayState" type="conf:string"/>
573     <attribute name="outgoingBindings" type="conf:listOfURIs"/>
574     <attribute name="template" type="anyURI"/>
575     <attribute name="postArtifact" type="boolean"/>
576     <anyAttribute namespace="##any" processContents="lax"/>
577   </attributeGroup>
578
579   <element name="LogoutInitiator">
580     <annotation>
581       <documentation>Used to specify handlers that can issue LogoutRequests</documentation>
582     </annotation>
583     <complexType>
584       <complexContent>
585         <restriction base="conf:PluggableType">
586           <sequence>
587             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
588           </sequence>
589           <attribute name="Location" type="anyURI"/>
590           <attributeGroup ref="conf:LogoutInitiatorGroup"/>
591         </restriction>
592       </complexContent>
593     </complexType>
594   </element>
595
596   <element name="Handler">
597     <annotation>
598       <documentation>Used to specify custom handlers</documentation>
599     </annotation>
600     <complexType>
601       <complexContent>
602         <restriction base="conf:PluggableType">
603           <sequence>
604             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
605           </sequence>
606           <attribute name="Location" type="anyURI" use="required"/>
607           <attribute name="acl" type="conf:listOfStrings"/>
608           <anyAttribute namespace="##any" processContents="lax"/>
609         </restriction>
610       </complexContent>
611     </complexType>
612   </element>
613
614   <complexType name="ErrorsType">
615     <annotation>
616       <documentation>Container for error templates and associated details</documentation>
617     </annotation>
618     <sequence>
619       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
620     </sequence>
621     <attribute name="redirectErrors" type="anyURI"/>
622     <attribute name="session" type="anyURI"/>
623     <attribute name="metadata" type="anyURI"/>
624     <attribute name="access" type="anyURI"/>
625     <attribute name="ssl" type="anyURI"/>
626     <attribute name="localLogout" type="anyURI"/>
627     <attribute name="globalLogout" type="anyURI"/>
628     <attribute name="partialLogout" type="anyURI"/>
629     <attribute name="supportContact" type="conf:string"/>
630     <attribute name="logoLocation" type="anyURI"/>
631     <attribute name="styleSheet" type="anyURI"/>
632     <anyAttribute namespace="##any" processContents="lax"/>
633   </complexType>
634
635   <complexType name="RelyingPartyType">
636     <annotation>
637       <documentation>Container for specifying settings to use with particular peers</documentation>
638     </annotation>
639     <sequence/>
640     <attribute name="Name" type="conf:string" use="required"/>
641     <attributeGroup ref="conf:RelyingPartyGroup"/>
642     <attribute name="entityID" type="anyURI"/>
643     <anyAttribute namespace="##other" processContents="lax"/>
644   </complexType>
645
646   <complexType name="NotifyType">
647     <annotation>
648       <documentation>Used to specify locations to receive application notifications</documentation>
649     </annotation>
650     <sequence/>
651     <attribute name="Channel" use="required">
652       <simpleType>
653         <restriction base="string">
654           <enumeration value="front"/>
655           <enumeration value="back"/>
656         </restriction>
657       </simpleType>
658     </attribute>
659     <attribute name="Location" type="anyURI" use="required"/>
660     <anyAttribute namespace="##any" processContents="lax"/>
661   </complexType>
662
663   <element name="SecurityPolicies">
664     <complexType>
665       <annotation>
666         <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
667       </annotation>
668       <sequence>
669         <element name="Policy" minOccurs="1" maxOccurs="unbounded">
670           <annotation>
671             <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
672           </annotation>
673           <complexType>
674             <choice>
675               <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
676               <element name="PolicyRule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
677             </choice>
678             <attribute name="id" type="conf:string" use="required"/>
679             <attribute name="validate" type="boolean"/>
680             <anyAttribute namespace="##any" processContents="lax"/>
681           </complexType>
682         </element>
683         <choice minOccurs="0">
684           <element name="AlgorithmWhitelist" type="conf:listOfURIs"/>
685           <element name="AlgorithmBlacklist" type="conf:listOfURIs"/>
686         </choice>
687       </sequence>
688     </complexType>
689   </element>
690
691   <element name="TransportOption">
692     <annotation>
693       <documentation>Implementation-specific option to pass to SOAPTransport provider.</documentation>
694     </annotation>
695     <complexType>
696       <simpleContent>
697         <extension base="anySimpleType">
698           <attribute name="provider" type="conf:string" use="required"/>
699           <attribute name="option" type="conf:string" use="required"/>
700         </extension>
701       </simpleContent>
702     </complexType>
703   </element>
704
705   <element name="SPConfig">
706     <complexType>
707       <annotation>
708         <documentation>Root of configuration</documentation>
709       </annotation>
710       <sequence>
711         <element name="Extensions" type="conf:ExtensionsType" minOccurs="0"/>
712         <element name="OutOfProcess" type="conf:OutOfProcessType" minOccurs="0"/>
713         <element name="InProcess" type="conf:InProcessType" minOccurs="0"/>
714         <choice minOccurs="0">
715           <element name="UnixListener">
716             <complexType>
717               <attribute name="address" type="conf:string" use="required"/>
718               <attribute name="stackSize" type="unsignedInt"/>
719             </complexType>
720           </element>
721           <element name="TCPListener">
722             <complexType>
723               <attribute name="address" type="conf:string" use="required"/>
724               <attribute name="port" type="unsignedInt" use="required"/>
725               <attribute name="acl" type="conf:listOfStrings"/>
726               <attribute name="stackSize" type="unsignedInt"/>
727             </complexType>
728           </element>
729           <element name="Listener" type="conf:PluggableType"/>
730         </choice>
731         <element name="StorageService" type="conf:StorageServiceType" minOccurs="0" maxOccurs="unbounded"/>
732         <element name="SessionCache" type="conf:SessionCacheType" minOccurs="0"/>
733         <element name="ReplayCache" type="conf:ReplayCacheType" minOccurs="0"/>
734         <element name="ArtifactMap" type="conf:ArtifactMapType" minOccurs="0"/>
735         <element name="RequestMapper" type="conf:PluggableType" minOccurs="0"/>
736         <element name="ApplicationDefaults" type="conf:ApplicationDefaultsType"/>
737         <choice>
738           <element name="SecurityPolicyProvider" type="conf:PluggableType"/>
739           <element ref="conf:SecurityPolicies"/> <!-- deprecated -->
740         </choice>
741         <element name="ProtocolProvider" type="conf:PluggableType" minOccurs="0"/>
742         <element ref="conf:TransportOption" minOccurs="0" maxOccurs="unbounded"/>
743         <element ref="ds:Signature" minOccurs="0"/>
744       </sequence>
745       <attribute name="logger" type="anyURI"/>
746       <attribute name="clockSkew" type="unsignedInt"/>
747       <attribute name="unsafeChars" type="conf:string"/>
748       <attribute name="allowedSchemes" type="conf:listOfStrings"/>
749       <anyAttribute namespace="##other" processContents="lax"/>
750     </complexType>
751   </element>
752
753 </schema>