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