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