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