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