Add "safe" query string support to mapper.
[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="isPassive" type="boolean"/>\r
279                 <attribute name="forceAuthn" type="boolean"/>\r
280                 <attribute name="authnContextClassRef" type="anyURI"/>\r
281                 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>\r
282                 <attribute name="sessionError" type="anyURI"/>\r
283                 <attribute name="metadataError" type="anyURI"/>\r
284                 <attribute name="accessError" type="anyURI"/>\r
285                 <attribute name="sslError" type="anyURI"/>\r
286                 <anyAttribute namespace="##other" processContents="lax"/>\r
287         </attributeGroup>\r
288         <element name="AccessControlProvider" type="conf:PluggableType"/>\r
289         <element name="htaccess" type="conf:PluggableType"/>\r
290 \r
291     <element name="RequestMap">\r
292                 <annotation>\r
293                         <documentation>\r
294                         Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...\r
295                         </documentation>\r
296                 </annotation>\r
297         <complexType>\r
298             <sequence>\r
299                 <choice minOccurs="0">\r
300                         <element ref="conf:htaccess"/>\r
301                                         <element ref="conf:AccessControl"/>\r
302                         <element ref="conf:AccessControlProvider"/>\r
303                     </choice>\r
304                 <choice minOccurs="0" maxOccurs="unbounded">\r
305                                         <element ref="conf:Host"/>\r
306                         <element ref="conf:HostRegex"/>\r
307                 </choice>\r
308             </sequence>\r
309             <attribute name="applicationId" type="conf:string" fixed="default"/>\r
310                 <attributeGroup ref="conf:ContentSettings"/>\r
311         </complexType>\r
312     </element>\r
313 \r
314     <element name="Host">\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:Path"/>\r
324                                 <element ref="conf:PathRegex"/>\r
325                                 <element ref="conf:Query"/>\r
326                         </choice>\r
327                 </sequence>\r
328                 <attribute name="scheme">\r
329                             <simpleType>\r
330                                 <restriction base="conf:string">\r
331                                     <enumeration value="http"/>\r
332                                     <enumeration value="https"/>\r
333                                     <enumeration value="ftp"/>\r
334                                     <enumeration value="ldap"/>\r
335                                     <enumeration value="ldaps"/>\r
336                                 </restriction>\r
337                             </simpleType>\r
338                 </attribute>\r
339                 <attribute name="name" type="conf:string" use="required"/>\r
340                 <attribute name="port" type="unsignedInt"/>\r
341                         <attribute name="applicationId" type="conf:string"/>\r
342                 <attributeGroup ref="conf:ContentSettings"/>\r
343         </complexType>\r
344     </element>\r
345         \r
346         <element name="HostRegex">\r
347                 <complexType>\r
348                         <sequence>\r
349                                 <choice minOccurs="0">\r
350                                         <element ref="conf:htaccess"/>\r
351                                         <element ref="conf:AccessControl"/>\r
352                                         <element ref="conf:AccessControlProvider"/>\r
353                                 </choice>\r
354                                 <choice minOccurs="0" maxOccurs="unbounded">\r
355                                         <element ref="conf:Path"/>\r
356                                         <element ref="conf:PathRegex"/>\r
357                                         <element ref="conf:Query"/>\r
358                                 </choice>\r
359                         </sequence>\r
360                         <attribute name="regex" type="conf:string" use="required"/>\r
361                         <attribute name="ignoreCase" type="boolean" default="true"/>\r
362                         <attribute name="applicationId" type="conf:string"/>\r
363                         <attributeGroup ref="conf:ContentSettings"/>\r
364                 </complexType>\r
365         </element>\r
366 \r
367     <element name="Path">\r
368         <complexType>\r
369                 <sequence>\r
370                 <choice minOccurs="0">\r
371                         <element ref="conf:htaccess"/>\r
372                                         <element ref="conf:AccessControl"/>\r
373                         <element ref="conf:AccessControlProvider"/>\r
374                     </choice>\r
375                         <choice minOccurs="0" maxOccurs="unbounded">\r
376                                 <element ref="conf:Path"/>\r
377                                 <element ref="conf:PathRegex"/>\r
378                                 <element ref="conf:Query"/>\r
379                         </choice>\r
380                 </sequence>\r
381                         <attribute name="name" type="conf:string" use="required"/>\r
382                         <attribute name="applicationId" type="conf:string"/>\r
383                         <attributeGroup ref="conf:ContentSettings"/>\r
384         </complexType>\r
385     </element>\r
386 \r
387         <element name="PathRegex">\r
388                 <complexType>\r
389                         <sequence>\r
390                                 <choice minOccurs="0">\r
391                                         <element ref="conf:htaccess"/>\r
392                                         <element ref="conf:AccessControl"/>\r
393                                         <element ref="conf:AccessControlProvider"/>\r
394                                 </choice>\r
395                                 <element ref="conf:Query" minOccurs="0" maxOccurs="unbounded"/>\r
396                         </sequence>\r
397                         <attribute name="regex" type="conf:string" use="required"/>\r
398                         <attribute name="ignoreCase" type="boolean" default="true"/>\r
399                         <attribute name="applicationId" type="conf:string"/>\r
400                         <attributeGroup ref="conf:ContentSettings"/>\r
401                 </complexType>\r
402         </element>\r
403         \r
404         <element name="Query">\r
405                 <complexType>\r
406                         <sequence>\r
407                                 <choice minOccurs="0">\r
408                                         <element ref="conf:htaccess"/>\r
409                                         <element ref="conf:AccessControl"/>\r
410                                         <element ref="conf:AccessControlProvider"/>\r
411                                 </choice>\r
412                                 <element ref="conf:Query" minOccurs="0" maxOccurs="unbounded"/>\r
413                         </sequence>\r
414                         <attribute name="name" type="conf:string" use="required"/>\r
415                         <attribute name="regex" type="conf:string"/>\r
416                         <attributeGroup ref="conf:ContentSettings"/>\r
417                 </complexType>\r
418         </element>\r
419         \r
420         <element name="Applications">\r
421                 <annotation>\r
422                         <documentation>Container for global settings and application-specific overrides</documentation>\r
423                 </annotation>\r
424                 <complexType>\r
425                         <sequence>\r
426                                 <element ref="conf:Sessions"/>\r
427                                 <element ref="conf:Errors" minOccurs="0"/>\r
428                                 <element ref="conf:DefaultRelyingParty"/>\r
429                                 <element ref="conf:Notify" minOccurs="0" maxOccurs="unbounded"/>\r
430                                 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>\r
431                 <element name="MetadataProvider" type="conf:PluggableType"/>\r
432                                 <element name="TrustEngine" type="conf:PluggableType"/>\r
433                                 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>\r
434                                 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>\r
435                                 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>\r
436                                 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>\r
437                                 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>\r
438                         </sequence>\r
439                         <attribute name="id" type="conf:string" fixed="default"/>\r
440                         <attribute name="entityID" type="anyURI" use="required"/>\r
441                         <attribute name="policyId" type="conf:string" use="required"/>\r
442                         <attributeGroup ref="conf:ApplicationGroup"/>\r
443                         <anyAttribute namespace="##other" processContents="lax"/>\r
444                 </complexType>\r
445         </element>\r
446         \r
447         <element name="Application">\r
448                 <annotation>\r
449                         <documentation>Container for application-specific overrides</documentation>\r
450                 </annotation>\r
451                 <complexType>\r
452                         <sequence>\r
453                                 <element ref="conf:Sessions" minOccurs="0"/>\r
454                                 <element ref="conf:Errors" minOccurs="0"/>\r
455                                 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>\r
456                                 <element ref="conf:Notify" minOccurs="0" maxOccurs="unbounded"/>\r
457                                 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>\r
458                                 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>\r
459                                 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>\r
460                                 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>\r
461                                 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>\r
462                                 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>\r
463                                 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>\r
464                         </sequence>\r
465                         <attribute name="id" type="conf:string" use="required"/>\r
466                         <attribute name="entityID" type="anyURI"/>\r
467                         <attribute name="policyId" type="conf:string"/>\r
468                         <attributeGroup ref="conf:ApplicationGroup"/>\r
469                         <anyAttribute namespace="##other" processContents="lax"/>\r
470                 </complexType>\r
471         </element>\r
472 \r
473         <attributeGroup name="ApplicationGroup">\r
474                 <attribute name="homeURL" type="anyURI" default="/"/>\r
475                 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>\r
476                 <attribute name="unsetHeaders" type="conf:listOfStrings"/>\r
477                 <attribute name="metadataAttributePrefix" type="conf:string"/>\r
478                 <attribute name="redirectErrors" type="anyURI"/>\r
479                 <attribute name="localLogout" type="anyURI"/>\r
480                 <attribute name="globalLogout" type="anyURI"/>\r
481         </attributeGroup>\r
482                 \r
483         <element name="Sessions">\r
484                 <annotation>\r
485                         <documentation>Container for specifying protocol handlers and session policy</documentation>\r
486                 </annotation>\r
487                 <complexType>\r
488                         <choice minOccurs="0" maxOccurs="unbounded">\r
489                                 <element ref="conf:SessionInitiator"/>\r
490                                 <element ref="conf:LogoutInitiator"/>\r
491                                 <element ref="md:AssertionConsumerService"/>\r
492                                 <element ref="md:ArtifactResolutionService"/>\r
493                                 <element ref="md:SingleLogoutService"/>\r
494                                 <element ref="md:ManageNameIDService"/>\r
495                                 <element name="Handler">\r
496                                         <complexType>\r
497                                                 <complexContent>\r
498                                                         <restriction base="conf:PluggableType">\r
499                                                                 <sequence>\r
500                                                                         <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
501                                                                 </sequence>\r
502                                                                 <attribute name="Location" type="anyURI" use="required"/>\r
503                                                         </restriction>\r
504                                                 </complexContent>\r
505                                         </complexType>\r
506                                 </element>\r
507                         </choice>\r
508                         <attribute name="handlerURL" type="anyURI"/>\r
509                         <attribute name="handlerSSL" type="boolean" default="true"/>\r
510                         <attribute name="exportLocation" type="conf:string"/>\r
511                         <attribute name="exportACL" type="conf:listOfStrings" default="127.0.0.1"/>\r
512                         <attribute name="cookieName" type="conf:string"/>\r
513                         <attribute name="cookieProps" type="conf:string"/>\r
514                         <attribute name="idpHistory" type="boolean" default="true"/>\r
515                         <attribute name="idpHistoryDays" type="unsignedInt"/>\r
516                         <attribute name="lifetime" type="unsignedInt" default="28800"/>\r
517                         <attribute name="timeout" type="unsignedInt" default="3600"/>\r
518                         <attribute name="checkAddress" type="boolean" default="true"/>\r
519                         <attribute name="consistentAddress" type="boolean" default="true"/>\r
520                         <anyAttribute namespace="##other" processContents="lax"/>\r
521                 </complexType>\r
522         </element>\r
523 \r
524         <attribute name="policyId" type="conf:string">\r
525                 <annotation>\r
526                         <documentation>Used to reference Policy elements from profile endpoints.</documentation>\r
527                 </annotation>\r
528         </attribute>\r
529 \r
530         <element name="SessionInitiator">\r
531                 <annotation>\r
532                         <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>\r
533                 </annotation>\r
534                 <complexType>\r
535                         <complexContent>\r
536                                 <restriction base="conf:PluggableType">\r
537                                         <sequence>\r
538                                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
539                                         </sequence>\r
540                                         <attribute name="Location" type="anyURI"/>\r
541                                         <attribute name="id" type="conf:string"/>\r
542                                         <attribute name="isDefault" type="boolean"/>\r
543                                         <attribute name="relayState" type="conf:string"/>\r
544                                         <attribute name="entityIDParam" type="conf:string"/>\r
545                                         <attribute name="entityID" type="anyURI"/>\r
546                                         <attribute name="URL" type="anyURI"/>\r
547                                         <attribute name="outgoingBindings" type="conf:listOfURIs"/>\r
548                                         <attribute name="template" type="anyURI"/>\r
549                                         <attribute name="postArtifact" type="boolean"/>\r
550                                         <attribute name="acsByIndex" type="boolean"/>\r
551                                         <attribute name="defaultACSIndex" type="unsignedShort"/>\r
552                                         <anyAttribute namespace="##any" processContents="lax"/>\r
553                                 </restriction>\r
554                         </complexContent>\r
555                 </complexType>\r
556         </element>\r
557 \r
558         <element name="LogoutInitiator">\r
559                 <annotation>\r
560                         <documentation>Used to specify handlers that can issue LogoutRequests</documentation>\r
561                 </annotation>\r
562                 <complexType>\r
563                         <complexContent>\r
564                                 <restriction base="conf:PluggableType">\r
565                                         <sequence>\r
566                                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
567                                         </sequence>\r
568                                         <attribute name="Location" type="anyURI"/>\r
569                                         <attribute name="outgoingBindings" type="conf:listOfURIs"/>\r
570                                         <attribute name="template" type="anyURI"/>\r
571                                         <attribute name="postArtifact" type="boolean"/>\r
572                                         <anyAttribute namespace="##any" processContents="lax"/>\r
573                                 </restriction>\r
574                         </complexContent>\r
575                 </complexType>\r
576         </element>\r
577         \r
578         <element name="Errors">\r
579                 <annotation>\r
580                         <documentation>Container for error templates and associated details</documentation>\r
581                 </annotation>\r
582                 <complexType>\r
583                         <sequence>\r
584                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
585                         </sequence>\r
586                         <attribute name="session" type="anyURI" use="required"/>\r
587                         <attribute name="metadata" type="anyURI"/>\r
588                         <attribute name="access" type="anyURI"/>\r
589                         <attribute name="ssl" type="anyURI"/>\r
590                         <attribute name="supportContact" type="conf:string"/>\r
591                         <attribute name="logoLocation" type="anyURI"/>\r
592                         <attribute name="styleSheet" type="anyURI"/>\r
593                         <anyAttribute namespace="##any" processContents="lax"/>\r
594                 </complexType>\r
595         </element>\r
596 \r
597         <element name="Notify">\r
598                 <annotation>\r
599                         <documentation>Used to specify locations to receive application notifications</documentation>\r
600                 </annotation>\r
601                 <complexType>\r
602                         <sequence/>\r
603                         <attribute name="Channel" use="required">\r
604                                 <simpleType>\r
605                                         <restriction base="string">\r
606                                                 <enumeration value="front"/>\r
607                                                 <enumeration value="back"/>\r
608                                         </restriction>\r
609                                 </simpleType>\r
610                         </attribute>\r
611                         <attribute name="Location" type="anyURI" use="required"/>\r
612                         <anyAttribute namespace="##any" processContents="lax"/>\r
613                 </complexType>\r
614         </element>\r
615         \r
616         <element name="DefaultRelyingParty">\r
617                 <annotation>\r
618                         <documentation>Container for specifying security methods to use with particular peers</documentation>\r
619                 </annotation>\r
620                 <complexType>\r
621                         <sequence>\r
622                                 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">\r
623                                         <complexType>\r
624                                                 <sequence/>\r
625                                                 <attribute name="Name" type="conf:string" use="required"/>\r
626                                                 <attributeGroup ref="conf:RelyingPartyGroup"/>\r
627                                                 <anyAttribute namespace="##other" processContents="lax"/>\r
628                                         </complexType>\r
629                                 </element>\r
630                         </sequence>\r
631                         <attributeGroup ref="conf:RelyingPartyGroup"/>\r
632                 <anyAttribute namespace="##other" processContents="lax"/>\r
633                 </complexType>\r
634         </element>\r
635         \r
636         <attributeGroup name="RelyingPartyGroup">\r
637                 <attribute name="authType" type="conf:string"/>\r
638                 <attribute name="authUsername" type="conf:string"/>\r
639                 <attribute name="authPassword" type="conf:string"/>\r
640                 <attribute name="signing" type="conf:bindingBoolean"/>\r
641                 <attribute name="signingAlg" type="anyURI"/>\r
642                 <attribute name="digestAlg" type="anyURI"/>\r
643                 <attribute name="encryption" type="conf:bindingBoolean"/>\r
644                 <attribute name="encryptionAlg" type="anyURI"/>\r
645                 <attribute name="keyName" type="conf:string"/>\r
646                 <attribute name="artifactEndpointIndex" type="unsignedShort"/>\r
647         </attributeGroup>\r
648         \r
649         <element name="SecurityPolicies">\r
650                 <annotation>\r
651                         <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>\r
652                 </annotation>\r
653                 <complexType>\r
654                         <sequence>\r
655                                 <element name="Policy" minOccurs="1" maxOccurs="unbounded">\r
656                                         <annotation>\r
657                                                 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>\r
658                                         </annotation>\r
659                                         <complexType>\r
660                                                 <sequence>\r
661                                                         <element ref="conf:TransportOption" minOccurs="0" maxOccurs="unbounded"/>\r
662                                                         <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>\r
663                                                 </sequence>\r
664                                                 <attribute name="id" type="conf:string" use="required"/>\r
665                                                 <attribute name="validate" type="boolean" default="false"/>\r
666                                                 <attribute name="signedAssertions" type="boolean" default="false"/>\r
667                                                 <attribute name="requireConfidentiality" type="boolean" default="true"/>\r
668                                                 <attribute name="requireTransportAuth" type="boolean" default="true"/>\r
669                                                 <attribute name="chunkedEncoding" type="boolean" default="true"/>\r
670                                                 <attribute name="connectTimeout" type="unsignedShort" default="15"/>\r
671                                                 <attribute name="timeout" type="unsignedShort" default="30"/>\r
672                                                 <anyAttribute namespace="##any" processContents="lax"/>\r
673                                         </complexType>\r
674                                 </element>\r
675                         </sequence>\r
676                 </complexType>\r
677         </element>\r
678 \r
679         <element name="TransportOption">\r
680                 <annotation>\r
681                         <documentation>Implementation-specific option to pass to SOAPTransport provider.</documentation>\r
682                 </annotation>\r
683                 <complexType>\r
684                         <simpleContent>\r
685                                 <extension base="anySimpleType">\r
686                                         <attribute name="provider" type="conf:string" use="required"/>\r
687                                         <attribute name="option" type="conf:string" use="required"/>\r
688                                 </extension>\r
689                         </simpleContent>\r
690                 </complexType>\r
691         </element>\r
692         \r
693 </schema>\r