Add global attribute prefix after filtering/resolution, to allow AJP forwarding and...
[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                 <choice minOccurs="0">\r
65                     <element name="UnixListener">\r
66                         <complexType>\r
67                             <attribute name="address" type="conf:string" use="required"/>\r
68                         </complexType>\r
69                     </element>\r
70                     <element name="TCPListener">\r
71                         <complexType>\r
72                             <attribute name="address" type="conf:string" use="required"/>\r
73                             <attribute name="port" type="unsignedInt" use="required"/>\r
74                             <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>\r
75                         </complexType>\r
76                     </element>\r
77                     <element name="Listener" type="conf:PluggableType"/>\r
78                 </choice>\r
79                 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>\r
80                 <element ref="conf:SessionCache" minOccurs="0"/>\r
81                 <element ref="conf:ReplayCache" minOccurs="0"/>\r
82                 <element ref="conf:ArtifactMap" minOccurs="0"/>\r
83                 <element name="RequestMapper" type="conf:PluggableType" minOccurs="0"/>\r
84                                 <element ref="conf:Applications"/>\r
85                                 <element ref="conf:SecurityPolicies"/>\r
86                         </sequence>\r
87                         <attribute name="logger" type="anyURI"/>\r
88                         <attribute name="clockSkew" type="unsignedInt"/>\r
89                         <anyAttribute namespace="##other" processContents="lax"/>\r
90                 </complexType>\r
91         </element>\r
92 \r
93         <element name="Extensions">\r
94                 <annotation>\r
95                         <documentation>Container for extension libraries and custom configuration</documentation>\r
96                 </annotation>\r
97                 <complexType>\r
98                         <sequence>\r
99                                 <element name="Library" minOccurs="0" maxOccurs="unbounded">\r
100                                         <complexType>\r
101                                                 <sequence>\r
102                                                         <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
103                                                 </sequence>\r
104                                                 <attribute name="path" type="anyURI" use="required"/>\r
105                                                 <attribute name="fatal" type="boolean" default="true"/>\r
106                                                 <anyAttribute namespace="##any" processContents="lax"/>\r
107                                         </complexType>\r
108                                 </element>\r
109                                 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
110                         </sequence>\r
111                 </complexType>\r
112         </element>\r
113 \r
114         <element name="StorageService">\r
115                 <annotation>\r
116                         <documentation>References StorageService plugins</documentation>\r
117                 </annotation>\r
118                 <complexType>\r
119                         <complexContent>\r
120                                 <restriction base="conf:PluggableType">\r
121                                         <sequence>\r
122                                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
123                                         </sequence>\r
124                                         <attribute name="id" type="ID" use="required"/>\r
125                                         <attribute name="cleanupInterval" type="unsignedInt" default="900"/>\r
126                                         <anyAttribute namespace="##any" processContents="lax"/>\r
127                                 </restriction>\r
128                         </complexContent>\r
129                 </complexType>\r
130         </element>\r
131 \r
132         <element name="SessionCache">\r
133                 <annotation>\r
134                         <documentation>References SessionCache plugins</documentation>\r
135                 </annotation>\r
136                 <complexType>\r
137                         <complexContent>\r
138                                 <restriction base="conf:PluggableType">\r
139                                         <sequence>\r
140                                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
141                                         </sequence>\r
142                                         <attribute name="StorageService" type="IDREF"/>\r
143                                         <attribute name="cacheTimeout" type="unsignedInt" default="28800"/>\r
144                                         <anyAttribute namespace="##any" processContents="lax"/>\r
145                                 </restriction>\r
146                         </complexContent>\r
147                 </complexType>\r
148         </element>\r
149         \r
150         <element name="ReplayCache">\r
151                 <annotation>\r
152                         <documentation>Ties ReplayCache to a custom StorageService</documentation>\r
153                 </annotation>\r
154                 <complexType>\r
155                         <sequence/>\r
156                         <attribute name="StorageService" type="IDREF" use="required"/>\r
157                 </complexType>\r
158         </element>\r
159         \r
160         <element name="ArtifactMap">\r
161                 <annotation>\r
162                         <documentation>Customizes an ArtifactMap</documentation>\r
163                 </annotation>\r
164                 <complexType>\r
165                         <sequence/>\r
166                         <attribute name="StorageService" type="IDREF"/>\r
167                         <attribute name="context" type="conf:string"/>\r
168                         <attribute name="artifactTTL" type="unsignedInt" default="180"/>\r
169                 </complexType>\r
170         </element>\r
171         \r
172         <element name="OutOfProcess">\r
173                 <annotation>\r
174                         <documentation>Container for out-of-process (shibd) configuration</documentation>\r
175                 </annotation>\r
176                 <complexType>\r
177                         <sequence>\r
178                                 <element ref="conf:Extensions" minOccurs="0"/>\r
179                                 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
180                         </sequence>\r
181                         <attribute name="logger" type="anyURI"/>\r
182                     <attribute name="catchAll" type="boolean"/>\r
183                         <anyAttribute namespace="##other" processContents="lax"/>\r
184                 </complexType>\r
185         </element>\r
186 \r
187         <element name="InProcess">\r
188                 <annotation>\r
189                         <documentation>\r
190                         Container for configuration of locally integrated or platform-specific\r
191                         features (e.g. web server filters)\r
192                         </documentation>\r
193                 </annotation>\r
194                 <complexType>\r
195                         <sequence>\r
196                                 <element ref="conf:Extensions" minOccurs="0"/>\r
197                                 <element ref="conf:ISAPI" minOccurs="0"/>\r
198                                 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
199                         </sequence>\r
200                         <attribute name="logger" type="anyURI"/>\r
201                         <attribute name="unsetHeaderValue" type="string"/>\r
202                         <attribute name="checkSpoofing" type="boolean"/>\r
203                     <attribute name="catchAll" type="boolean"/>\r
204                         <anyAttribute namespace="##other" processContents="lax"/>\r
205                 </complexType>\r
206         </element>\r
207         \r
208         <element name="ISAPI">\r
209                 <complexType>\r
210                         <sequence>\r
211                                 <element name="Site" maxOccurs="unbounded">\r
212                                         <complexType>\r
213                                                 <sequence>\r
214                                                         <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>\r
215                                                 </sequence>\r
216                                                 <attribute name="id" type="unsignedInt" use="required"/>\r
217                                                 <attribute name="name" type="conf:string" use="required"/>\r
218                                                 <attribute name="port" type="unsignedInt"/>\r
219                                                 <attribute name="sslport" type="unsignedInt"/>\r
220                                                 <attribute name="scheme" type="conf:string"/>\r
221                                         </complexType>\r
222                                 </element>\r
223                                 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
224                         </sequence>\r
225                         <attribute name="normalizeRequest" type="boolean" default="true"/>\r
226                         <anyAttribute namespace="##other" processContents="lax"/>\r
227                 </complexType>\r
228         </element>\r
229 \r
230         <element name="AccessControl" type="conf:UniOperatorType">\r
231                 <annotation>\r
232                         <documentation>\r
233                         A simple example access policy language extension that supersedes Apache .htaccess\r
234                         </documentation>\r
235                 </annotation>\r
236         </element>\r
237         <element name="OR" type="conf:MultiOperatorType"/>\r
238         <element name="AND" type="conf:MultiOperatorType"/>\r
239         <element name="NOT" type="conf:UniOperatorType"/>\r
240         <complexType name="UniOperatorType">\r
241                 <choice>\r
242                         <element ref="conf:AND"/>\r
243                         <element ref="conf:OR"/>\r
244                         <element ref="conf:NOT"/>\r
245                         <element ref="conf:Rule"/>\r
246                 </choice>\r
247         </complexType>\r
248         <complexType name="MultiOperatorType">\r
249                 <choice minOccurs="2" maxOccurs="unbounded">\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         <element name="Rule">\r
257                 <complexType>\r
258                         <simpleContent>\r
259                                 <extension base="conf:listOfStrings">\r
260                                         <attribute name="require" type="conf:string" use="required"/>\r
261                                 </extension>\r
262                         </simpleContent>\r
263                 </complexType>\r
264         </element>\r
265         \r
266         <attributeGroup name="ContentSettings">\r
267                 <attribute name="authType" type="conf:string"/>\r
268                 <attribute name="requireSession" type="boolean"/>\r
269                 <attribute name="requireSessionWith" type="conf:string"/>\r
270                 <attribute name="exportAssertion" type="boolean"/>\r
271                 <attribute name="redirectToSSL" type="unsignedInt"/>\r
272                 <attribute name="entityID" type="anyURI"/>\r
273                 <attribute name="isPassive" type="boolean"/>\r
274                 <attribute name="forceAuthn" type="boolean"/>\r
275                 <attribute name="authnContextClassRef" type="anyURI"/>\r
276                 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>\r
277         <attribute name="redirectErrors" type="anyURI"/>\r
278                 <attribute name="sessionError" type="anyURI"/>\r
279                 <attribute name="metadataError" type="anyURI"/>\r
280                 <attribute name="accessError" type="anyURI"/>\r
281                 <attribute name="sslError" type="anyURI"/>\r
282                 <anyAttribute namespace="##other" processContents="lax"/>\r
283         </attributeGroup>\r
284         <element name="AccessControlProvider" type="conf:PluggableType"/>\r
285         <element name="htaccess" type="conf:PluggableType"/>\r
286 \r
287     <element name="RequestMap">\r
288                 <annotation>\r
289                         <documentation>\r
290                         Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...\r
291                         </documentation>\r
292                 </annotation>\r
293         <complexType>\r
294             <sequence>\r
295                 <choice minOccurs="0">\r
296                         <element ref="conf:htaccess"/>\r
297                                         <element ref="conf:AccessControl"/>\r
298                         <element ref="conf:AccessControlProvider"/>\r
299                     </choice>\r
300                 <choice minOccurs="0" maxOccurs="unbounded">\r
301                                         <element ref="conf:Host"/>\r
302                         <element ref="conf:HostRegex"/>\r
303                 </choice>\r
304             </sequence>\r
305             <attribute name="applicationId" type="conf:string" fixed="default"/>\r
306                 <attributeGroup ref="conf:ContentSettings"/>\r
307         </complexType>\r
308     </element>\r
309 \r
310     <element name="Host">\r
311         <complexType>\r
312                 <sequence>\r
313                 <choice minOccurs="0">\r
314                         <element ref="conf:htaccess"/>\r
315                                         <element ref="conf:AccessControl"/>\r
316                         <element ref="conf:AccessControlProvider"/>\r
317                     </choice>\r
318                         <choice minOccurs="0" maxOccurs="unbounded">\r
319                                 <element ref="conf:Path"/>\r
320                                 <element ref="conf:PathRegex"/>\r
321                                 <element ref="conf:Query"/>\r
322                         </choice>\r
323                 </sequence>\r
324                 <attribute name="scheme">\r
325                             <simpleType>\r
326                                 <restriction base="conf:string">\r
327                                     <enumeration value="http"/>\r
328                                     <enumeration value="https"/>\r
329                                     <enumeration value="ftp"/>\r
330                                     <enumeration value="ldap"/>\r
331                                     <enumeration value="ldaps"/>\r
332                                 </restriction>\r
333                             </simpleType>\r
334                 </attribute>\r
335                 <attribute name="name" type="conf:string" use="required"/>\r
336                 <attribute name="port" type="unsignedInt"/>\r
337                         <attribute name="applicationId" type="conf:string"/>\r
338                 <attributeGroup ref="conf:ContentSettings"/>\r
339         </complexType>\r
340     </element>\r
341         \r
342         <element name="HostRegex">\r
343                 <complexType>\r
344                         <sequence>\r
345                                 <choice minOccurs="0">\r
346                                         <element ref="conf:htaccess"/>\r
347                                         <element ref="conf:AccessControl"/>\r
348                                         <element ref="conf:AccessControlProvider"/>\r
349                                 </choice>\r
350                                 <choice minOccurs="0" maxOccurs="unbounded">\r
351                                         <element ref="conf:Path"/>\r
352                                         <element ref="conf:PathRegex"/>\r
353                                         <element ref="conf:Query"/>\r
354                                 </choice>\r
355                         </sequence>\r
356                         <attribute name="regex" type="conf:string" use="required"/>\r
357                         <attribute name="ignoreCase" type="boolean" default="true"/>\r
358                         <attribute name="applicationId" type="conf:string"/>\r
359                         <attributeGroup ref="conf:ContentSettings"/>\r
360                 </complexType>\r
361         </element>\r
362 \r
363     <element name="Path">\r
364         <complexType>\r
365                 <sequence>\r
366                 <choice minOccurs="0">\r
367                         <element ref="conf:htaccess"/>\r
368                                         <element ref="conf:AccessControl"/>\r
369                         <element ref="conf:AccessControlProvider"/>\r
370                     </choice>\r
371                         <choice minOccurs="0" maxOccurs="unbounded">\r
372                                 <element ref="conf:Path"/>\r
373                                 <element ref="conf:PathRegex"/>\r
374                                 <element ref="conf:Query"/>\r
375                         </choice>\r
376                 </sequence>\r
377                         <attribute name="name" type="conf:string" use="required"/>\r
378                         <attribute name="applicationId" type="conf:string"/>\r
379                         <attributeGroup ref="conf:ContentSettings"/>\r
380         </complexType>\r
381     </element>\r
382 \r
383         <element name="PathRegex">\r
384                 <complexType>\r
385                         <sequence>\r
386                                 <choice minOccurs="0">\r
387                                         <element ref="conf:htaccess"/>\r
388                                         <element ref="conf:AccessControl"/>\r
389                                         <element ref="conf:AccessControlProvider"/>\r
390                                 </choice>\r
391                                 <element ref="conf:Query" minOccurs="0" maxOccurs="unbounded"/>\r
392                         </sequence>\r
393                         <attribute name="regex" type="conf:string" use="required"/>\r
394                         <attribute name="ignoreCase" type="boolean" default="true"/>\r
395                         <attribute name="applicationId" type="conf:string"/>\r
396                         <attributeGroup ref="conf:ContentSettings"/>\r
397                 </complexType>\r
398         </element>\r
399         \r
400         <element name="Query">\r
401                 <complexType>\r
402                         <sequence>\r
403                                 <choice minOccurs="0">\r
404                                         <element ref="conf:htaccess"/>\r
405                                         <element ref="conf:AccessControl"/>\r
406                                         <element ref="conf:AccessControlProvider"/>\r
407                                 </choice>\r
408                                 <element ref="conf:Query" minOccurs="0" maxOccurs="unbounded"/>\r
409                         </sequence>\r
410                         <attribute name="name" type="conf:string" use="required"/>\r
411                         <attribute name="regex" type="conf:string"/>\r
412                         <attributeGroup ref="conf:ContentSettings"/>\r
413                 </complexType>\r
414         </element>\r
415         \r
416         <element name="Applications">\r
417                 <annotation>\r
418                         <documentation>Container for global settings and application-specific overrides</documentation>\r
419                 </annotation>\r
420                 <complexType>\r
421                         <sequence>\r
422                                 <element ref="conf:Sessions"/>\r
423                                 <element ref="conf:Errors" minOccurs="0"/>\r
424                                 <element ref="conf:DefaultRelyingParty"/>\r
425                                 <element ref="conf:Notify" minOccurs="0" maxOccurs="unbounded"/>\r
426                                 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>\r
427                 <element name="MetadataProvider" type="conf:PluggableType"/>\r
428                                 <element name="TrustEngine" type="conf:PluggableType"/>\r
429                                 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>\r
430                                 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>\r
431                                 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>\r
432                                 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>\r
433                                 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>\r
434                         </sequence>\r
435                         <attribute name="id" type="conf:string" fixed="default"/>\r
436                         <attribute name="entityID" type="anyURI" use="required"/>\r
437                         <attribute name="policyId" type="conf:string" use="required"/>\r
438                         <attributeGroup ref="conf:ApplicationGroup"/>\r
439                         <anyAttribute namespace="##other" processContents="lax"/>\r
440                 </complexType>\r
441         </element>\r
442         \r
443         <element name="Application">\r
444                 <annotation>\r
445                         <documentation>Container for application-specific overrides</documentation>\r
446                 </annotation>\r
447                 <complexType>\r
448                         <sequence>\r
449                                 <element ref="conf:Sessions" minOccurs="0"/>\r
450                                 <element ref="conf:Errors" minOccurs="0"/>\r
451                                 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>\r
452                                 <element ref="conf:Notify" minOccurs="0" maxOccurs="unbounded"/>\r
453                                 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>\r
454                                 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>\r
455                                 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>\r
456                                 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>\r
457                                 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>\r
458                                 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>\r
459                                 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>\r
460                         </sequence>\r
461                         <attribute name="id" type="conf:string" use="required"/>\r
462                         <attribute name="entityID" type="anyURI"/>\r
463                         <attribute name="policyId" type="conf:string"/>\r
464                         <attributeGroup ref="conf:ApplicationGroup"/>\r
465                         <anyAttribute namespace="##other" processContents="lax"/>\r
466                 </complexType>\r
467         </element>\r
468 \r
469         <attributeGroup name="ApplicationGroup">\r
470                 <attribute name="homeURL" type="anyURI" default="/"/>\r
471                 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>\r
472                 <attribute name="unsetHeaders" type="conf:listOfStrings"/>\r
473                 <attribute name="metadataAttributePrefix" type="conf:string"/>\r
474             <attribute name="attributePrefix" type="conf:string"/>\r
475                 <attribute name="localLogout" type="anyURI"/>\r
476                 <attribute name="globalLogout" type="anyURI"/>\r
477         </attributeGroup>\r
478                 \r
479         <element name="Sessions">\r
480                 <annotation>\r
481                         <documentation>Container for specifying protocol handlers and session policy</documentation>\r
482                 </annotation>\r
483                 <complexType>\r
484                         <choice minOccurs="0" maxOccurs="unbounded">\r
485                                 <element ref="conf:SessionInitiator"/>\r
486                                 <element ref="conf:LogoutInitiator"/>\r
487                                 <element ref="md:AssertionConsumerService"/>\r
488                                 <element ref="md:ArtifactResolutionService"/>\r
489                                 <element ref="md:SingleLogoutService"/>\r
490                                 <element ref="md:ManageNameIDService"/>\r
491                                 <element name="Handler">\r
492                                         <complexType>\r
493                                                 <complexContent>\r
494                                                         <restriction base="conf:PluggableType">\r
495                                                                 <sequence>\r
496                                                                         <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
497                                                                 </sequence>\r
498                                                                 <attribute name="Location" type="anyURI" use="required"/>\r
499                                                             <attribute name="acl" type="conf:listOfStrings"/>\r
500                                                                 <anyAttribute namespace="##any" processContents="lax"/>\r
501                                                         </restriction>\r
502                                                 </complexContent>\r
503                                         </complexType>\r
504                                 </element>\r
505                         </choice>\r
506                         <attribute name="handlerURL" type="anyURI"/>\r
507                         <attribute name="handlerSSL" type="boolean" default="true"/>\r
508                         <attribute name="exportLocation" type="conf:string"/>\r
509                         <attribute name="exportACL" type="conf:listOfStrings" default="127.0.0.1"/>\r
510                         <attribute name="cookieName" type="conf:string"/>\r
511                         <attribute name="cookieProps" type="conf:string"/>\r
512                         <attribute name="idpHistory" type="boolean" default="false"/>\r
513                         <attribute name="idpHistoryDays" type="unsignedInt"/>\r
514                         <attribute name="lifetime" type="unsignedInt" default="28800"/>\r
515                         <attribute name="timeout" type="unsignedInt" default="3600"/>\r
516                     <attribute name="authnskew" type="unsignedInt"/>\r
517                         <attribute name="checkAddress" type="boolean" default="true"/>\r
518                         <attribute name="consistentAddress" type="boolean" default="true"/>\r
519                         <anyAttribute namespace="##other" processContents="lax"/>\r
520                 </complexType>\r
521         </element>\r
522 \r
523         <attribute name="policyId" type="conf:string">\r
524                 <annotation>\r
525                         <documentation>Used to reference Policy elements from profile endpoints.</documentation>\r
526                 </annotation>\r
527         </attribute>\r
528 \r
529         <element name="SessionInitiator">\r
530                 <annotation>\r
531                         <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>\r
532                 </annotation>\r
533                 <complexType>\r
534                         <complexContent>\r
535                                 <restriction base="conf:PluggableType">\r
536                                         <sequence>\r
537                                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
538                                         </sequence>\r
539                                         <attribute name="Location" type="anyURI"/>\r
540                                         <attribute name="id" type="conf:string"/>\r
541                                         <attribute name="isDefault" type="boolean"/>\r
542                                         <attribute name="relayState" type="conf:string"/>\r
543                                         <attribute name="entityIDParam" type="conf:string"/>\r
544                                         <attribute name="entityID" type="anyURI"/>\r
545                                         <attribute name="URL" type="anyURI"/>\r
546                                         <attribute name="outgoingBindings" type="conf:listOfURIs"/>\r
547                                         <attribute name="template" type="anyURI"/>\r
548                                         <attribute name="postArtifact" type="boolean"/>\r
549                                         <attribute name="acsByIndex" type="boolean"/>\r
550                                         <attribute name="defaultACSIndex" type="unsignedShort"/>\r
551                     <attribute name="isPassive" type="boolean"/>\r
552                     <attribute name="forceAuthn" type="boolean"/>\r
553                     <attribute name="authnContextClassRef" type="anyURI"/>\r
554                     <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>\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="redirectErrors" type="anyURI"/>\r
590                         <attribute name="session" type="anyURI"/>\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