09179ea172a1c260786e9225c92d0353c3da2935
[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       <attributeGroup ref="conf:ContentSettings"/>
270     </complexType>
271   </element>
272
273   <complexType name="HostType">
274     <sequence>
275       <choice minOccurs="0">
276         <element name="htaccess" type="conf:PluggableType"/>
277         <element ref="conf:AccessControl"/>
278         <element name="AccessControlProvider" type="conf:PluggableType"/>
279       </choice>
280       <choice minOccurs="0" maxOccurs="unbounded">
281         <element name="Path" type="conf:PathType"/>
282         <element name="PathRegex" type="conf:PathRegexType"/>
283         <element name="Query" type="conf:QueryType"/>
284       </choice>
285     </sequence>
286     <attribute name="scheme">
287       <simpleType>
288         <restriction base="conf:string">
289           <enumeration value="http"/>
290           <enumeration value="https"/>
291           <enumeration value="ftp"/>
292           <enumeration value="ldap"/>
293           <enumeration value="ldaps"/>
294         </restriction>
295       </simpleType>
296     </attribute>
297     <attribute name="name" type="conf:string" use="required"/>
298     <attribute name="port" type="unsignedInt"/>
299     <attributeGroup ref="conf:ContentSettings"/>
300   </complexType>
301
302   <complexType name="HostRegexType">
303     <sequence>
304       <choice minOccurs="0">
305         <element name="htaccess" type="conf:PluggableType"/>
306         <element ref="conf:AccessControl"/>
307         <element name="AccessControlProvider" type="conf:PluggableType"/>
308       </choice>
309       <choice minOccurs="0" maxOccurs="unbounded">
310         <element name="Path" type="conf:PathType"/>
311         <element name="PathRegex" type="conf:PathRegexType"/>
312         <element name="Query" type="conf:QueryType"/>
313       </choice>
314     </sequence>
315     <attribute name="regex" type="conf:string" use="required"/>
316     <attribute name="ignoreCase" type="boolean"/>
317     <attributeGroup ref="conf:ContentSettings"/>
318   </complexType>
319
320   <complexType name="PathType">
321     <sequence>
322       <choice minOccurs="0">
323         <element name="htaccess" type="conf:PluggableType"/>
324         <element ref="conf:AccessControl"/>
325         <element name="AccessControlProvider" type="conf:PluggableType"/>
326       </choice>
327       <choice minOccurs="0" maxOccurs="unbounded">
328         <element name="Path" type="conf:PathType"/>
329         <element name="PathRegex" type="conf:PathRegexType"/>
330         <element name="Query" type="conf:QueryType"/>
331       </choice>
332     </sequence>
333     <attribute name="name" type="conf:string" use="required"/>
334     <attributeGroup ref="conf:ContentSettings"/>
335   </complexType>
336
337   <complexType name="PathRegexType">
338     <sequence>
339       <choice minOccurs="0">
340         <element name="htaccess" type="conf:PluggableType"/>
341         <element ref="conf:AccessControl"/>
342         <element name="AccessControlProvider" type="conf:PluggableType"/>
343       </choice>
344       <element name="Query" type="conf:QueryType" minOccurs="0" maxOccurs="unbounded"/>
345     </sequence>
346     <attribute name="regex" type="conf:string" use="required"/>
347     <attribute name="ignoreCase" type="boolean"/>
348     <attributeGroup ref="conf:ContentSettings"/>
349   </complexType>
350
351   <complexType name="QueryType">
352     <sequence>
353       <choice minOccurs="0">
354         <element name="htaccess" type="conf:PluggableType"/>
355         <element ref="conf:AccessControl"/>
356         <element name="AccessControlProvider" type="conf:PluggableType"/>
357       </choice>
358       <element name="Query" type="conf:QueryType" minOccurs="0" maxOccurs="unbounded"/>
359     </sequence>
360     <attribute name="name" type="conf:string" use="required"/>
361     <attribute name="regex" type="conf:string"/>
362     <attributeGroup ref="conf:ContentSettings"/>
363   </complexType>
364
365   <complexType name="ApplicationDefaultsType">
366     <annotation>
367       <documentation>Container for default settings and application-specific overrides</documentation>
368     </annotation>
369     <sequence>
370       <element name="Sessions" type="conf:SessionsType"/>
371       <element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
372       <element name="RelyingParty" type="conf:RelyingPartyType" minOccurs="0" maxOccurs="unbounded"/>
373       <element name="Notify" type="conf:NotifyType" minOccurs="0" maxOccurs="unbounded"/>
374       <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
375       <element name="MetadataProvider" type="conf:PluggableType"/>
376       <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
377       <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
378       <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
379       <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
380       <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
381       <element name="ApplicationOverride" type="conf:ApplicationOverrideType" minOccurs="0" maxOccurs="unbounded"/>
382     </sequence>
383     <attribute name="id" type="conf:string" fixed="default"/>
384     <attribute name="entityID" type="anyURI" use="required"/>
385     <attribute name="policyId" type="conf:string"/>
386     <attributeGroup ref="conf:ApplicationGroup"/>
387     <attributeGroup ref="conf:RelyingPartyGroup"/>
388     <anyAttribute namespace="##other" processContents="lax"/>
389   </complexType>
390
391   <complexType name="ApplicationOverrideType">
392     <annotation>
393       <documentation>Container for application-specific overrides</documentation>
394     </annotation>
395     <sequence>
396       <element name="Sessions" type="conf:SessionsType" minOccurs="0"/>
397       <element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
398       <element name="RelyingParty" type="conf:RelyingPartyType" minOccurs="0" maxOccurs="unbounded"/>
399       <element name="Notify" type="conf:NotifyType" minOccurs="0" maxOccurs="unbounded"/>
400       <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
401       <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
402       <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
403       <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
404       <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
405       <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
406       <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
407     </sequence>
408     <attribute name="id" type="conf:string" use="required"/>
409     <attribute name="entityID" type="anyURI"/>
410     <attribute name="policyId" type="conf:string"/>
411     <attributeGroup ref="conf:ApplicationGroup"/>
412     <attributeGroup ref="conf:RelyingPartyGroup"/>
413     <anyAttribute namespace="##other" processContents="lax"/>
414   </complexType>
415
416   <attributeGroup name="ApplicationGroup">
417     <attribute name="homeURL" type="anyURI"/>
418     <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
419     <attribute name="unsetHeaders" type="conf:listOfStrings"/>
420     <attribute name="metadataAttributePrefix" type="conf:string"/>
421     <attribute name="attributePrefix" type="conf:string"/>
422   </attributeGroup>
423
424   <attributeGroup name="RelyingPartyGroup">
425     <attribute name="authType" type="conf:string"/>
426     <attribute name="authUsername" type="conf:string"/>
427     <attribute name="authPassword" type="conf:string"/>
428     <attribute name="signing" type="conf:bindingBoolean"/>
429     <attribute name="signingAlg" type="anyURI"/>
430     <attribute name="digestAlg" type="anyURI"/>
431     <attribute name="encryption" type="conf:bindingBoolean"/>
432     <attribute name="encryptionAlg" type="anyURI"/>
433     <attribute name="keyName" type="conf:string"/>
434     <attribute name="artifactEndpointIndex" type="unsignedShort"/>
435     <attribute name="chunkedEncoding" type="boolean"/>
436     <attribute name="connectTimeout" type="unsignedShort"/>
437     <attribute name="timeout" type="unsignedShort"/>
438     <attribute name="requireConfidentiality" type="boolean"/>
439     <attribute name="requireTransportAuth" type="boolean"/>
440     <attribute name="requireSignedAssertions" type="boolean"/>
441   </attributeGroup>
442
443   <complexType name="SessionsType">
444     <annotation>
445       <documentation>Container for specifying protocol handlers and session policy</documentation>
446     </annotation>
447     <choice minOccurs="0" maxOccurs="unbounded">
448       <element ref="conf:SessionInitiator"/>
449       <element ref="conf:LogoutInitiator"/>
450       <element ref="md:AssertionConsumerService"/>
451       <element ref="md:ArtifactResolutionService"/>
452       <element ref="md:SingleLogoutService"/>
453       <element ref="md:ManageNameIDService"/>
454       <element name="Handler">
455         <complexType>
456           <complexContent>
457             <restriction base="conf:PluggableType">
458               <sequence>
459                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
460               </sequence>
461               <attribute name="Location" type="anyURI" use="required"/>
462               <attribute name="acl" type="conf:listOfStrings"/>
463               <anyAttribute namespace="##any" processContents="lax"/>
464             </restriction>
465           </complexContent>
466         </complexType>
467       </element>
468     </choice>
469     <attribute name="handlerURL" type="anyURI" use="required"/>
470     <attribute name="handlerSSL" type="boolean"/>
471     <attribute name="exportLocation" type="conf:string"/>
472     <attribute name="exportACL" type="conf:listOfStrings"/>
473     <attribute name="cookieName" type="conf:string"/>
474     <attribute name="cookieProps" type="conf:string"/>
475     <attribute name="cookieLifetime" type="unsignedInt"/>
476     <attribute name="idpHistory" type="boolean"/>
477     <attribute name="idpHistoryDays" type="unsignedInt"/>
478     <attribute name="lifetime" type="unsignedInt"/>
479     <attribute name="timeout" type="unsignedInt"/>
480     <attribute name="maxTimeSinceAuthn" type="unsignedInt"/>
481     <attribute name="checkAddress" type="boolean"/>
482     <attribute name="consistentAddress" type="boolean"/>
483     <attribute name="postData" type="conf:string"/>
484     <attribute name="postLimit" type="positiveInteger"/>
485     <attribute name="postTemplate" type="conf:string"/>
486     <attribute name="postExpire" type="boolean"/>
487     <anyAttribute namespace="##other" processContents="lax"/>
488   </complexType>
489
490   <attribute name="policyId" type="conf:string">
491     <annotation>
492       <documentation>Used to reference Policy elements from profile endpoints.</documentation>
493     </annotation>
494   </attribute>
495
496   <element name="SessionInitiator">
497     <annotation>
498       <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
499     </annotation>
500     <complexType>
501       <complexContent>
502         <restriction base="conf:PluggableType">
503           <sequence>
504             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
505           </sequence>
506           <attribute name="Location" type="anyURI"/>
507           <attribute name="id" type="conf:string"/>
508           <attribute name="isDefault" type="boolean"/>
509           <attribute name="relayState" type="conf:string"/>
510           <attribute name="entityIDParam" type="conf:string"/>
511           <attribute name="entityID" type="anyURI"/>
512           <attribute name="URL" type="anyURI"/>
513           <attribute name="outgoingBindings" type="conf:listOfURIs"/>
514           <attribute name="template" type="anyURI"/>
515           <attribute name="postArtifact" type="boolean"/>
516           <attribute name="acsByIndex" type="boolean"/>
517           <attribute name="acsIndex" type="unsignedShort"/>
518           <attribute name="defaultACSIndex" type="unsignedShort"/>  <!-- deprecated -->
519           <attribute name="isPassive" type="boolean"/>
520           <attribute name="returnOnError" type="boolean"/>
521           <attribute name="forceAuthn" type="boolean"/>
522           <attribute name="authnContextClassRef" type="anyURI"/>
523           <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
524           <attribute name="NameIDFormat" type="anyURI"/>
525           <attribute name="SPNameQualifier" type="conf:string"/>
526           <attribute name="requestDelegation" type="boolean"/>
527           <attribute name="target" type="anyURI"/>
528           <anyAttribute namespace="##any" processContents="lax"/>
529         </restriction>
530       </complexContent>
531     </complexType>
532   </element>
533
534   <element name="LogoutInitiator">
535     <annotation>
536       <documentation>Used to specify handlers that can issue LogoutRequests</documentation>
537     </annotation>
538     <complexType>
539       <complexContent>
540         <restriction base="conf:PluggableType">
541           <sequence>
542             <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
543           </sequence>
544           <attribute name="Location" type="anyURI"/>
545           <attribute name="relayState" type="conf:string"/>
546           <attribute name="outgoingBindings" type="conf:listOfURIs"/>
547           <attribute name="template" type="anyURI"/>
548           <attribute name="postArtifact" type="boolean"/>
549           <anyAttribute namespace="##any" processContents="lax"/>
550         </restriction>
551       </complexContent>
552     </complexType>
553   </element>
554
555   <complexType name="ErrorsType">
556     <annotation>
557       <documentation>Container for error templates and associated details</documentation>
558     </annotation>
559     <sequence>
560       <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
561     </sequence>
562     <attribute name="redirectErrors" type="anyURI"/>
563     <attribute name="session" type="anyURI"/>
564     <attribute name="metadata" type="anyURI"/>
565     <attribute name="access" type="anyURI"/>
566     <attribute name="ssl" type="anyURI"/>
567     <attribute name="localLogout" type="anyURI"/>
568     <attribute name="globalLogout" type="anyURI"/>
569     <attribute name="partialLogout" type="anyURI"/>
570     <attribute name="supportContact" type="conf:string"/>
571     <attribute name="logoLocation" type="anyURI"/>
572     <attribute name="styleSheet" type="anyURI"/>
573     <anyAttribute namespace="##any" processContents="lax"/>
574   </complexType>
575
576   <complexType name="RelyingPartyType">
577     <annotation>
578       <documentation>Container for specifying settings to use with particular peers</documentation>
579     </annotation>
580     <sequence/>
581     <attribute name="Name" type="conf:string" use="required"/>
582     <attributeGroup ref="conf:RelyingPartyGroup"/>
583     <attribute name="entityID" type="anyURI"/>
584     <anyAttribute namespace="##other" processContents="lax"/>
585   </complexType>
586
587   <complexType name="NotifyType">
588     <annotation>
589       <documentation>Used to specify locations to receive application notifications</documentation>
590     </annotation>
591     <sequence/>
592     <attribute name="Channel" use="required">
593       <simpleType>
594         <restriction base="string">
595           <enumeration value="front"/>
596           <enumeration value="back"/>
597         </restriction>
598       </simpleType>
599     </attribute>
600     <attribute name="Location" type="anyURI" use="required"/>
601     <anyAttribute namespace="##any" processContents="lax"/>
602   </complexType>
603
604   <element name="SecurityPolicies">
605     <complexType>
606       <annotation>
607         <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
608       </annotation>
609       <sequence>
610         <element name="Policy" minOccurs="1" maxOccurs="unbounded">
611           <annotation>
612             <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
613           </annotation>
614           <complexType>
615             <choice>
616               <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
617               <element name="PolicyRule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
618             </choice>
619             <attribute name="id" type="conf:string" use="required"/>
620             <attribute name="validate" type="boolean"/>
621             <anyAttribute namespace="##any" processContents="lax"/>
622           </complexType>
623         </element>
624         <choice minOccurs="0">
625           <element name="AlgorithmWhitelist" type="conf:listOfURIs"/>
626           <element name="AlgorithmBlacklist" type="conf:listOfURIs"/>
627         </choice>
628       </sequence>
629     </complexType>
630   </element>
631
632   <element name="TransportOption">
633     <annotation>
634       <documentation>Implementation-specific option to pass to SOAPTransport provider.</documentation>
635     </annotation>
636     <complexType>
637       <simpleContent>
638         <extension base="anySimpleType">
639           <attribute name="provider" type="conf:string" use="required"/>
640           <attribute name="option" type="conf:string" use="required"/>
641         </extension>
642       </simpleContent>
643     </complexType>
644   </element>
645
646   <element name="SPConfig">
647     <complexType>
648       <annotation>
649         <documentation>Root of configuration</documentation>
650       </annotation>
651       <sequence>
652         <element name="Extensions" type="conf:ExtensionsType" minOccurs="0"/>
653         <element name="OutOfProcess" type="conf:OutOfProcessType" minOccurs="0"/>
654         <element name="InProcess" type="conf:InProcessType" minOccurs="0"/>
655         <choice minOccurs="0">
656           <element name="UnixListener">
657             <complexType>
658               <attribute name="address" type="conf:string" use="required"/>
659               <attribute name="stackSize" type="unsignedInt"/>
660             </complexType>
661           </element>
662           <element name="TCPListener">
663             <complexType>
664               <attribute name="address" type="conf:string" use="required"/>
665               <attribute name="port" type="unsignedInt" use="required"/>
666               <attribute name="acl" type="conf:listOfStrings"/>
667               <attribute name="stackSize" type="unsignedInt"/>
668             </complexType>
669           </element>
670           <element name="Listener" type="conf:PluggableType"/>
671         </choice>
672         <element name="StorageService" type="conf:StorageServiceType" minOccurs="0" maxOccurs="unbounded"/>
673         <element name="SessionCache" type="conf:SessionCacheType" minOccurs="0"/>
674         <element name="ReplayCache" type="conf:ReplayCacheType" minOccurs="0"/>
675         <element name="ArtifactMap" type="conf:ArtifactMapType" minOccurs="0"/>
676         <element name="RequestMapper" type="conf:PluggableType" minOccurs="0"/>
677         <element name="ApplicationDefaults" type="conf:ApplicationDefaultsType"/>
678         <choice>
679           <element name="SecurityPolicyProvider" type="conf:PluggableType"/>
680           <element ref="conf:SecurityPolicies"/> <!-- deprecated -->
681         </choice>
682         <element ref="conf:TransportOption" minOccurs="0" maxOccurs="unbounded"/>
683         <element ref="ds:Signature" minOccurs="0"/>
684       </sequence>
685       <attribute name="logger" type="anyURI"/>
686       <attribute name="clockSkew" type="unsignedInt"/>
687       <attribute name="unsafeChars" type="conf:string"/>
688       <attribute name="allowedSchemes" type="conf:listOfStrings"/>
689       <anyAttribute namespace="##other" processContents="lax"/>
690     </complexType>
691   </element>
692
693 </schema>