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