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