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