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