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