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