Tagging 2.4RC1 release.
[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     <attribute name="extraAuthTypes" type="conf:listOfStrings"/>
179     <anyAttribute namespace="##other" processContents="lax"/>
180   </complexType>
181
182   <element name="AccessControl" type="conf:UniOperatorType">
183     <annotation>
184       <documentation>
185         A simple example access policy language extension that supersedes Apache .htaccess
186       </documentation>
187     </annotation>
188   </element>
189   <complexType name="UniOperatorType">
190     <choice>
191       <element name="AND" type="conf:MultiOperatorType"/>
192       <element name="OR" type="conf:MultiOperatorType"/>
193       <element name="NOT" type="conf:UniOperatorType"/>
194       <element name="Rule" type="conf:RuleType"/>
195       <element name="RuleRegex" type="conf:RuleRegexType"/>
196     </choice>
197   </complexType>
198   <complexType name="MultiOperatorType">
199     <choice minOccurs="2" maxOccurs="unbounded">
200       <element name="AND" type="conf:MultiOperatorType"/>
201       <element name="OR" type="conf:MultiOperatorType"/>
202       <element name="NOT" type="conf:UniOperatorType"/>
203       <element name="Rule" type="conf:RuleType"/>
204       <element name="RuleRegex" type="conf:RuleRegexType"/>
205     </choice>
206   </complexType>
207   <complexType name="RuleType">
208     <simpleContent>
209       <extension base="conf:listOfStrings">
210         <attribute name="require" type="conf:string" use="required"/>
211         <attribute name="list" type="boolean"/>
212       </extension>
213     </simpleContent>
214   </complexType>
215   <complexType name="RuleRegexType">
216     <simpleContent>
217       <extension base="conf:string">
218         <attribute name="require" type="conf:string" use="required"/>
219         <attribute name="ignoreCase" type="boolean"/>
220       </extension>
221     </simpleContent>
222   </complexType>
223
224   <attributeGroup name="ContentSettings">
225     <attribute name="applicationId" type="conf:string"/>
226     <attribute name="authType" type="conf:string"/>
227     <attribute name="requireSession" type="boolean"/>
228     <attribute name="requireSessionWith" type="conf:string"/>
229     <attribute name="exportAssertion" type="boolean"/>
230     <attribute name="redirectToSSL" type="unsignedInt"/>
231     <attribute name="entityID" type="anyURI"/>
232     <attribute name="discoveryURL" type="anyURI"/>
233     <attribute name="isPassive" type="boolean"/>
234     <attribute name="returnOnError" type="boolean"/>
235     <attribute name="forceAuthn" type="boolean"/>
236     <attribute name="authnContextClassRef" type="anyURI"/>
237     <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
238     <attribute name="NameIDFormat" type="anyURI"/>
239     <attribute name="SPNameQualifier" type="conf:string"/>
240     <attribute name="redirectErrors" type="anyURI"/>
241     <attribute name="sessionError" type="anyURI"/>
242     <attribute name="metadataError" type="anyURI"/>
243     <attribute name="accessError" type="anyURI"/>
244     <attribute name="sslError" type="anyURI"/>
245     <attribute name="target" type="anyURI"/>
246     <attribute name="acsIndex" type="unsignedShort"/>
247     <attribute name="REMOTE_ADDR" type="conf:string"/>
248     <anyAttribute namespace="##other" processContents="lax"/>
249   </attributeGroup>
250
251   <element name="RequestMap">
252     <annotation>
253       <documentation>
254         Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
255       </documentation>
256     </annotation>
257     <complexType>
258       <sequence>
259         <choice minOccurs="0">
260           <element name="htaccess" type="conf:PluggableType"/>
261           <element ref="conf:AccessControl"/>
262           <element name="AccessControlProvider" type="conf:PluggableType"/>
263         </choice>
264         <choice minOccurs="0" maxOccurs="unbounded">
265           <element name="Host" type="conf:HostType"/>
266           <element name="HostRegex" type="conf:HostRegexType"/>
267         </choice>
268         <element ref="ds:Signature" minOccurs="0"/>
269       </sequence>
270       <attribute name="unicodeAware" type="boolean"/>
271       <attributeGroup ref="conf:ContentSettings"/>
272     </complexType>
273   </element>
274
275   <complexType name="HostType">
276     <sequence>
277       <choice minOccurs="0">
278         <element name="htaccess" type="conf:PluggableType"/>
279         <element ref="conf:AccessControl"/>
280         <element name="AccessControlProvider" type="conf:PluggableType"/>
281       </choice>
282       <choice minOccurs="0" maxOccurs="unbounded">
283         <element name="Path" type="conf:PathType"/>
284         <element name="PathRegex" type="conf:PathRegexType"/>
285         <element name="Query" type="conf:QueryType"/>
286       </choice>
287     </sequence>
288     <attribute name="scheme">
289       <simpleType>
290         <restriction base="conf:string">
291           <enumeration value="http"/>
292           <enumeration value="https"/>
293           <enumeration value="ftp"/>
294           <enumeration value="ldap"/>
295           <enumeration value="ldaps"/>
296         </restriction>
297       </simpleType>
298     </attribute>
299     <attribute name="name" type="conf:string" use="required"/>
300     <attribute name="port" type="unsignedInt"/>
301     <attributeGroup ref="conf:ContentSettings"/>
302   </complexType>
303
304   <complexType name="HostRegexType">
305     <sequence>
306       <choice minOccurs="0">
307         <element name="htaccess" type="conf:PluggableType"/>
308         <element ref="conf:AccessControl"/>
309         <element name="AccessControlProvider" type="conf:PluggableType"/>
310       </choice>
311       <choice minOccurs="0" maxOccurs="unbounded">
312         <element name="Path" type="conf:PathType"/>
313         <element name="PathRegex" type="conf:PathRegexType"/>
314         <element name="Query" type="conf:QueryType"/>
315       </choice>
316     </sequence>
317     <attribute name="regex" type="conf:string" use="required"/>
318     <attribute name="ignoreCase" type="boolean"/>
319     <attributeGroup ref="conf:ContentSettings"/>
320   </complexType>
321
322   <complexType name="PathType">
323     <sequence>
324       <choice minOccurs="0">
325         <element name="htaccess" type="conf:PluggableType"/>
326         <element ref="conf:AccessControl"/>
327         <element name="AccessControlProvider" type="conf:PluggableType"/>
328       </choice>
329       <choice minOccurs="0" maxOccurs="unbounded">
330         <element name="Path" type="conf:PathType"/>
331         <element name="PathRegex" type="conf:PathRegexType"/>
332         <element name="Query" type="conf:QueryType"/>
333       </choice>
334     </sequence>
335     <attribute name="name" type="conf:string" use="required"/>
336     <attributeGroup ref="conf:ContentSettings"/>
337   </complexType>
338
339   <complexType name="PathRegexType">
340     <sequence>
341       <choice minOccurs="0">
342         <element name="htaccess" type="conf:PluggableType"/>
343         <element ref="conf:AccessControl"/>
344         <element name="AccessControlProvider" type="conf:PluggableType"/>
345       </choice>
346       <element name="Query" type="conf:QueryType" minOccurs="0" maxOccurs="unbounded"/>
347     </sequence>
348     <attribute name="regex" type="conf:string" use="required"/>
349     <attribute name="ignoreCase" type="boolean"/>
350     <attributeGroup ref="conf:ContentSettings"/>
351   </complexType>
352
353   <complexType name="QueryType">
354     <sequence>
355       <choice minOccurs="0">
356         <element name="htaccess" type="conf:PluggableType"/>
357         <element ref="conf:AccessControl"/>
358         <element name="AccessControlProvider" type="conf:PluggableType"/>
359       </choice>
360       <element name="Query" type="conf:QueryType" minOccurs="0" maxOccurs="unbounded"/>
361     </sequence>
362     <attribute name="name" type="conf:string" use="required"/>
363     <attribute name="regex" type="conf:string"/>
364     <attributeGroup ref="conf:ContentSettings"/>
365   </complexType>
366
367   <complexType name="ApplicationDefaultsType">
368     <annotation>
369       <documentation>Container for default settings and application-specific overrides</documentation>
370     </annotation>
371     <sequence>
372       <element name="Sessions" type="conf:SessionsType"/>
373       <element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
374       <choice minOccurs="0" maxOccurs="unbounded">
375         <element name="RelyingParty" type="conf:RelyingPartyType"/>
376         <element name="Notify" type="conf:NotifyType"/>
377         <element ref="saml:Audience"/>
378         <element name="MetadataProvider" type="conf:PluggableType"/>
379         <element name="TrustEngine" type="conf:PluggableType"/>
380         <element name="AttributeExtractor" type="conf:PluggableType"/>
381         <element name="AttributeResolver" type="conf:PluggableType"/>
382         <element name="AttributeFilter" type="conf:PluggableType"/>
383         <element name="CredentialResolver" type="conf:PluggableType"/>
384         <element name="ApplicationOverride" type="conf:ApplicationOverrideType"/>
385       </choice>
386     </sequence>
387     <attribute name="id" type="conf:string" fixed="default"/>
388     <attribute name="entityID" type="anyURI" use="required"/>
389     <attribute name="policyId" type="conf:string"/>
390     <attributeGroup ref="conf:ApplicationGroup"/>
391     <attributeGroup ref="conf:RelyingPartyGroup"/>
392     <anyAttribute namespace="##other" processContents="lax"/>
393   </complexType>
394
395   <complexType name="ApplicationOverrideType">
396     <annotation>
397       <documentation>Container for application-specific overrides</documentation>
398     </annotation>
399     <sequence>
400       <element name="Sessions" type="conf:SessionsType" minOccurs="0"/>
401       <element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
402       <choice minOccurs="0" maxOccurs="unbounded">
403         <element name="RelyingParty" type="conf:RelyingPartyType"/>
404         <element name="Notify" type="conf:NotifyType"/>
405         <element ref="saml:Audience"/>
406         <element name="MetadataProvider" type="conf:PluggableType"/>
407         <element name="TrustEngine" type="conf:PluggableType"/>
408         <element name="AttributeExtractor" type="conf:PluggableType"/>
409         <element name="AttributeResolver" type="conf:PluggableType"/>
410         <element name="AttributeFilter" type="conf:PluggableType"/>
411         <element name="CredentialResolver" type="conf:PluggableType"/>
412       </choice>
413     </sequence>
414     <attribute name="id" type="conf:string" use="required"/>
415     <attribute name="entityID" type="anyURI"/>
416     <attribute name="policyId" type="conf:string"/>
417     <attributeGroup ref="conf:ApplicationGroup"/>
418     <attributeGroup ref="conf:RelyingPartyGroup"/>
419     <anyAttribute namespace="##other" processContents="lax"/>
420   </complexType>
421
422   <attributeGroup name="ApplicationGroup">
423     <attribute name="homeURL" type="anyURI"/>
424     <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
425     <attribute name="unsetHeaders" type="conf:listOfStrings"/>
426     <attribute name="metadataAttributePrefix" type="conf:string"/>
427     <attribute name="attributePrefix" type="conf:string"/>
428   </attributeGroup>
429
430   <attributeGroup name="RelyingPartyGroup">
431     <attribute name="authType" type="conf:string"/>
432     <attribute name="authUsername" type="conf:string"/>
433     <attribute name="authPassword" type="conf:string"/>
434     <attribute name="signing" type="conf:bindingBoolean"/>
435     <attribute name="signingAlg" type="anyURI"/>
436     <attribute name="digestAlg" type="anyURI"/>
437     <attribute name="encryption" type="conf:bindingBoolean"/>
438     <attribute name="encryptionAlg" type="anyURI"/>
439     <attribute name="keyName" type="conf:string"/>
440     <attribute name="artifactEndpointIndex" type="unsignedShort"/>
441     <attribute name="chunkedEncoding" type="boolean"/>
442     <attribute name="connectTimeout" type="unsignedShort"/>
443     <attribute name="timeout" type="unsignedShort"/>
444     <attribute name="requireConfidentiality" type="boolean"/>
445     <attribute name="requireTransportAuth" type="boolean"/>
446     <attribute name="requireSignedAssertions" type="boolean"/>
447   </attributeGroup>
448     
449   <complexType name="SessionsType">
450     <annotation>
451       <documentation>Container for specifying protocol handlers and session policy</documentation>
452     </annotation>
453     <sequence>
454       <element name="SSO" minOccurs="0">
455         <complexType>
456           <annotation>
457             <documentation>Implicitly configures SessionInitiator and AssertionConsumerService handlers</documentation>
458           </annotation>
459           <simpleContent>
460             <extension base="conf:listOfStrings">
461               <attribute name="discoveryProtocol" type="conf:string"/>
462               <attribute name="discoveryURL" type="anyURI"/>
463               <attributeGroup ref="conf:SessionInitiatorGroup"/>
464             </extension>
465           </simpleContent>
466         </complexType>
467       </element>
468       <element name="Logout" minOccurs="0">
469         <complexType>
470           <annotation>
471             <documentation>Implicitly configures LogoutInitiator and SingleLogoutService handlers</documentation>
472           </annotation>
473           <simpleContent>
474             <extension base="conf:listOfStrings">
475               <attributeGroup ref="conf:LogoutInitiatorGroup"/>
476             </extension>
477           </simpleContent>
478         </complexType>
479       </element>
480       <element name="NameIDMgmt" type="conf:listOfStrings" minOccurs="0">
481         <annotation>
482           <documentation>Implicitly configures ManageNameIDService handlers</documentation>
483         </annotation>
484       </element>
485       <choice minOccurs="0" maxOccurs="unbounded">
486         <element ref="conf:SessionInitiator"/>
487         <element ref="conf:LogoutInitiator"/>
488         <element ref="md:AssertionConsumerService"/>
489         <element ref="md:ArtifactResolutionService"/>
490         <element ref="md:SingleLogoutService"/>
491         <element ref="md:ManageNameIDService"/>
492         <element ref="conf:Handler"/>
493       </choice>
494     </sequence>
495     <attribute name="handlerURL" type="anyURI"/>
496     <attribute name="handlerSSL" type="boolean"/>
497     <attribute name="exportLocation" type="conf:string"/>
498     <attribute name="exportACL" type="conf:listOfStrings"/>
499     <attribute name="cookieName" type="conf:string"/>
500     <attribute name="cookieProps" type="conf:string"/>
501     <attribute name="cookieLifetime" type="unsignedInt"/>
502     <attribute name="idpHistory" type="boolean"/>
503     <attribute name="idpHistoryDays" type="unsignedInt"/>
504     <attribute name="lifetime" type="unsignedInt"/>
505     <attribute name="timeout" type="unsignedInt"/>
506     <attribute name="maxTimeSinceAuthn" type="unsignedInt"/>
507     <attribute name="checkAddress" type="boolean"/>
508     <attribute name="consistentAddress" type="boolean"/>
509     <attribute name="postData" type="conf:string"/>
510     <attribute name="postLimit" type="positiveInteger"/>
511     <attribute name="postTemplate" type="conf:string"/>
512     <attribute name="postExpire" type="boolean"/>
513     <attribute name="relayState" type="conf:string"/>
514     <anyAttribute namespace="##other" processContents="lax"/>
515   </complexType>
516
517   <attribute name="policyId" type="conf:string">
518     <annotation>
519       <documentation>Used to override Policy from profile endpoints</documentation>
520     </annotation>
521   </attribute>
522
523   <attributeGroup name="SessionInitiatorGroup">
524     <annotation>
525       <documentation>Options common to explicit and implicit SessionInitiators</documentation>
526     </annotation>
527     <attribute name="relayState" type="conf:string"/>
528     <attribute name="entityIDParam" type="conf:string"/>
529     <attribute name="entityID" type="anyURI"/>
530     <attribute name="outgoingBindings" type="conf:listOfURIs"/>
531     <attribute name="preservedOptions" type="conf:listOfStrings"/>
532     <attribute name="template" type="anyURI"/>
533     <attribute name="postArtifact" type="boolean"/>
534     <attribute name="acsByIndex" type="boolean"/>
535     <attribute name="isPassive" type="boolean"/>
536     <attribute name="returnOnError" type="boolean"/>
537     <attribute name="forceAuthn" type="boolean"/>
538     <attribute name="authnContextClassRef" type="anyURI"/>
539     <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
540     <attribute name="NameIDFormat" type="anyURI"/>
541     <attribute name="SPNameQualifier" type="conf:string"/>
542     <attribute name="requestDelegation" type="boolean"/>
543     <attribute name="target" type="anyURI"/>
544     <anyAttribute namespace="##any" processContents="lax"/>
545   </attributeGroup>
546
547   <element name="SessionInitiator">
548     <annotation>
549       <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
550     </annotation>
551     <complexType>
552       <complexContent>
553         <restriction base="conf:PluggableType">
554           <sequence>
555             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
556           </sequence>
557           <attribute name="Location" type="anyURI"/>
558           <attribute name="id" type="conf:string"/>
559           <attribute name="isDefault" type="boolean"/>
560           <attribute name="URL" type="anyURI"/>
561           <attribute name="acsIndex" type="unsignedShort"/>
562           <attribute name="defaultACSIndex" type="unsignedShort"/>  <!-- deprecated -->
563           <attributeGroup ref="conf:SessionInitiatorGroup"/>
564         </restriction>
565       </complexContent>
566     </complexType>
567   </element>
568
569   <attributeGroup name="LogoutInitiatorGroup">
570     <annotation>
571       <documentation>Options common to explicit and implicit LogoutInitiators</documentation>
572     </annotation>
573     <attribute name="relayState" type="conf:string"/>
574     <attribute name="outgoingBindings" type="conf:listOfURIs"/>
575     <attribute name="template" type="anyURI"/>
576     <attribute name="postArtifact" type="boolean"/>
577     <anyAttribute namespace="##any" processContents="lax"/>
578   </attributeGroup>
579
580   <element name="LogoutInitiator">
581     <annotation>
582       <documentation>Used to specify handlers that can issue LogoutRequests</documentation>
583     </annotation>
584     <complexType>
585       <complexContent>
586         <restriction base="conf:PluggableType">
587           <sequence>
588             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
589           </sequence>
590           <attribute name="Location" type="anyURI"/>
591           <attributeGroup ref="conf:LogoutInitiatorGroup"/>
592         </restriction>
593       </complexContent>
594     </complexType>
595   </element>
596
597   <element name="Handler">
598     <annotation>
599       <documentation>Used to specify custom handlers</documentation>
600     </annotation>
601     <complexType>
602       <complexContent>
603         <restriction base="conf:PluggableType">
604           <sequence>
605             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
606           </sequence>
607           <attribute name="Location" type="anyURI" use="required"/>
608           <attribute name="acl" type="conf:listOfStrings"/>
609           <anyAttribute namespace="##any" processContents="lax"/>
610         </restriction>
611       </complexContent>
612     </complexType>
613   </element>
614
615   <complexType name="ErrorsType">
616     <annotation>
617       <documentation>Container for error templates and associated details</documentation>
618     </annotation>
619     <sequence>
620       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
621     </sequence>
622     <attribute name="redirectErrors" type="anyURI"/>
623     <attribute name="session" type="anyURI"/>
624     <attribute name="metadata" type="anyURI"/>
625     <attribute name="access" type="anyURI"/>
626     <attribute name="ssl" type="anyURI"/>
627     <attribute name="localLogout" type="anyURI"/>
628     <attribute name="globalLogout" type="anyURI"/>
629     <attribute name="partialLogout" type="anyURI"/>
630     <attribute name="supportContact" type="conf:string"/>
631     <attribute name="logoLocation" type="anyURI"/>
632     <attribute name="styleSheet" type="anyURI"/>
633     <anyAttribute namespace="##any" processContents="lax"/>
634   </complexType>
635
636   <complexType name="RelyingPartyType">
637     <annotation>
638       <documentation>Container for specifying settings to use with particular peers</documentation>
639     </annotation>
640     <sequence/>
641     <attribute name="Name" type="conf:string" use="required"/>
642     <attributeGroup ref="conf:RelyingPartyGroup"/>
643     <attribute name="entityID" type="anyURI"/>
644     <anyAttribute namespace="##other" processContents="lax"/>
645   </complexType>
646
647   <complexType name="NotifyType">
648     <annotation>
649       <documentation>Used to specify locations to receive application notifications</documentation>
650     </annotation>
651     <sequence/>
652     <attribute name="Channel" use="required">
653       <simpleType>
654         <restriction base="string">
655           <enumeration value="front"/>
656           <enumeration value="back"/>
657         </restriction>
658       </simpleType>
659     </attribute>
660     <attribute name="Location" type="anyURI" use="required"/>
661     <anyAttribute namespace="##any" processContents="lax"/>
662   </complexType>
663
664   <element name="SecurityPolicies">
665     <complexType>
666       <annotation>
667         <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
668       </annotation>
669       <sequence>
670         <element name="Policy" minOccurs="1" maxOccurs="unbounded">
671           <annotation>
672             <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
673           </annotation>
674           <complexType>
675             <choice>
676               <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
677               <element name="PolicyRule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
678             </choice>
679             <attribute name="id" type="conf:string" use="required"/>
680             <attribute name="validate" type="boolean"/>
681             <anyAttribute namespace="##any" processContents="lax"/>
682           </complexType>
683         </element>
684         <choice minOccurs="0">
685           <element name="AlgorithmWhitelist" type="conf:listOfURIs"/>
686           <element name="AlgorithmBlacklist" type="conf:listOfURIs"/>
687         </choice>
688       </sequence>
689     </complexType>
690   </element>
691
692   <element name="TransportOption">
693     <annotation>
694       <documentation>Implementation-specific option to pass to SOAPTransport provider.</documentation>
695     </annotation>
696     <complexType>
697       <simpleContent>
698         <extension base="anySimpleType">
699           <attribute name="provider" type="conf:string" use="required"/>
700           <attribute name="option" type="conf:string" use="required"/>
701         </extension>
702       </simpleContent>
703     </complexType>
704   </element>
705
706   <element name="SPConfig">
707     <complexType>
708       <annotation>
709         <documentation>Root of configuration</documentation>
710       </annotation>
711       <sequence>
712         <element name="Extensions" type="conf:ExtensionsType" minOccurs="0"/>
713         <element name="OutOfProcess" type="conf:OutOfProcessType" minOccurs="0"/>
714         <element name="InProcess" type="conf:InProcessType" minOccurs="0"/>
715         <choice minOccurs="0">
716           <element name="UnixListener">
717             <complexType>
718               <attribute name="address" type="conf:string" use="required"/>
719               <attribute name="stackSize" type="unsignedInt"/>
720             </complexType>
721           </element>
722           <element name="TCPListener">
723             <complexType>
724               <attribute name="address" type="conf:string" use="required"/>
725               <attribute name="port" type="unsignedInt" use="required"/>
726               <attribute name="acl" type="conf:listOfStrings"/>
727               <attribute name="stackSize" type="unsignedInt"/>
728             </complexType>
729           </element>
730           <element name="Listener" type="conf:PluggableType"/>
731         </choice>
732         <element name="StorageService" type="conf:StorageServiceType" minOccurs="0" maxOccurs="unbounded"/>
733         <element name="SessionCache" type="conf:SessionCacheType" minOccurs="0"/>
734         <element name="ReplayCache" type="conf:ReplayCacheType" minOccurs="0"/>
735         <element name="ArtifactMap" type="conf:ArtifactMapType" minOccurs="0"/>
736         <element name="RequestMapper" type="conf:PluggableType" minOccurs="0"/>
737         <element name="ApplicationDefaults" type="conf:ApplicationDefaultsType"/>
738         <choice>
739           <element name="SecurityPolicyProvider" type="conf:PluggableType"/>
740           <element ref="conf:SecurityPolicies"/> <!-- deprecated -->
741         </choice>
742         <element name="ProtocolProvider" type="conf:PluggableType" minOccurs="0"/>
743         <element ref="conf:TransportOption" minOccurs="0" maxOccurs="unbounded"/>
744         <element ref="ds:Signature" minOccurs="0"/>
745       </sequence>
746       <attribute name="logger" type="anyURI"/>
747       <attribute name="clockSkew" type="unsignedInt"/>
748       <attribute name="unsafeChars" type="conf:string"/>
749       <attribute name="allowedSchemes" type="conf:listOfStrings"/>
750       <anyAttribute namespace="##other" processContents="lax"/>
751     </complexType>
752   </element>
753
754 </schema>