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