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