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