Add cache method to find but not remove sessions by name.
[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="isPassive" type="boolean"/>\r
279                 <attribute name="forceAuthn" type="boolean"/>\r
280                 <attribute name="authnContextClassRef" type="anyURI"/>\r
281                 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>\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                 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>\r
301             </sequence>\r
302             <attribute name="applicationId" type="conf:string" fixed="default"/>\r
303                 <attributeGroup ref="conf:ContentSettings"/>\r
304         </complexType>\r
305     </element>\r
306 \r
307     <element name="Host">\r
308         <complexType>\r
309                 <sequence>\r
310                 <choice minOccurs="0">\r
311                         <element ref="conf:htaccess"/>\r
312                                         <element ref="conf:AccessControl"/>\r
313                         <element ref="conf:AccessControlProvider"/>\r
314                     </choice>\r
315                         <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>\r
316                 </sequence>\r
317                 <attribute name="scheme">\r
318                             <simpleType>\r
319                                 <restriction base="conf:string">\r
320                                     <enumeration value="http"/>\r
321                                     <enumeration value="https"/>\r
322                                     <enumeration value="ftp"/>\r
323                                     <enumeration value="ldap"/>\r
324                                     <enumeration value="ldaps"/>\r
325                                 </restriction>\r
326                             </simpleType>\r
327                 </attribute>\r
328                 <attribute name="name" type="conf:string" use="required"/>\r
329                 <attribute name="port" type="unsignedInt"/>\r
330                 <attribute name="applicationId" type="conf:string"/>\r
331                 <attributeGroup ref="conf:ContentSettings"/>\r
332         </complexType>\r
333     </element>\r
334 \r
335     <element name="Path">\r
336         <complexType>\r
337                 <sequence>\r
338                 <choice minOccurs="0">\r
339                         <element ref="conf:htaccess"/>\r
340                                         <element ref="conf:AccessControl"/>\r
341                         <element ref="conf:AccessControlProvider"/>\r
342                     </choice>\r
343                         <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>\r
344                 </sequence>\r
345                 <attribute name="name" type="conf:string" use="required"/>\r
346                 <attribute name="applicationId" type="conf:string"/>\r
347                 <attributeGroup ref="conf:ContentSettings"/>\r
348         </complexType>\r
349     </element>\r
350         \r
351         <element name="Applications">\r
352                 <annotation>\r
353                         <documentation>Container for global settings and application-specific overrides</documentation>\r
354                 </annotation>\r
355                 <complexType>\r
356                         <sequence>\r
357                                 <element ref="conf:Sessions"/>\r
358                                 <element ref="conf:Errors"/>\r
359                                 <element ref="conf:DefaultRelyingParty"/>\r
360                                 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>\r
361                 <element name="MetadataProvider" type="conf:PluggableType"/>\r
362                                 <element name="TrustEngine" type="conf:PluggableType"/>\r
363                                 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>\r
364                                 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>\r
365                                 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>\r
366                                 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>\r
367                                 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>\r
368                         </sequence>\r
369                         <attribute name="id" type="conf:string" fixed="default"/>\r
370                         <attribute name="entityID" type="anyURI" use="required"/>\r
371                         <attribute name="policyId" type="conf:string" use="required"/>\r
372                         <attribute name="homeURL" type="anyURI" default="/"/>\r
373                         <attribute name="REMOTE_USER" type="conf:listOfStrings"/>\r
374                         <attribute name="unsetHeaders" type="conf:listOfStrings"/>\r
375                 <anyAttribute namespace="##other" processContents="lax"/>\r
376                 </complexType>\r
377         </element>\r
378         \r
379         <element name="Application">\r
380                 <annotation>\r
381                         <documentation>Container for application-specific overrides</documentation>\r
382                 </annotation>\r
383                 <complexType>\r
384                         <sequence>\r
385                                 <element ref="conf:Sessions" minOccurs="0"/>\r
386                                 <element ref="conf:Errors" minOccurs="0"/>\r
387                                 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>\r
388                                 <element ref="conf:NotifyOnLogout" minOccurs="0" maxOccurs="unbounded"/>\r
389                                 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>\r
390                                 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>\r
391                                 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>\r
392                                 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>\r
393                                 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>\r
394                                 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>\r
395                                 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>\r
396                         </sequence>\r
397                         <attribute name="id" type="conf:string" use="required"/>\r
398                         <attribute name="entityID" type="anyURI"/>\r
399                         <attribute name="policyId" type="conf:string"/>\r
400                         <attribute name="homeURL" type="anyURI" default="/"/>\r
401                         <attribute name="REMOTE_USER" type="conf:listOfStrings"/>\r
402                         <attribute name="unsetHeaders" type="conf:listOfStrings"/>\r
403                         <anyAttribute namespace="##other" processContents="lax"/>\r
404                 </complexType>\r
405         </element>\r
406 \r
407         <element name="Sessions">\r
408                 <annotation>\r
409                         <documentation>Container for specifying protocol handlers and session policy</documentation>\r
410                 </annotation>\r
411                 <complexType>\r
412                         <choice minOccurs="0" maxOccurs="unbounded">\r
413                                 <element ref="conf:SessionInitiator"/>\r
414                                 <element ref="md:AssertionConsumerService"/>\r
415                                 <element ref="md:ArtifactResolutionService"/>\r
416                                 <element ref="md:SingleLogoutService"/>\r
417                                 <element ref="md:ManageNameIDService"/>\r
418                                 <element name="Handler">\r
419                                         <complexType>\r
420                                                 <complexContent>\r
421                                                         <restriction base="conf:PluggableType">\r
422                                                                 <sequence>\r
423                                                                         <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
424                                                                 </sequence>\r
425                                                                 <attribute name="Location" type="anyURI" use="required"/>\r
426                                                         </restriction>\r
427                                                 </complexContent>\r
428                                         </complexType>\r
429                                 </element>\r
430                         </choice>\r
431                         <attribute name="handlerURL" type="anyURI"/>\r
432                         <attribute name="handlerSSL" type="boolean" default="true"/>\r
433                         <attribute name="exportLocation" type="conf:string"/>\r
434                         <attribute name="exportACL" type="conf:listOfStrings" default="127.0.0.1"/>\r
435                         <attribute name="redirectErrors" type="anyURI"/>\r
436                         <attribute name="cookieName" type="conf:string"/>\r
437                         <attribute name="cookieProps" type="conf:string"/>\r
438                         <attribute name="idpHistory" type="boolean" default="true"/>\r
439                         <attribute name="idpHistoryDays" type="unsignedInt"/>\r
440                         <attribute name="lifetime" type="unsignedInt" default="28800"/>\r
441                         <attribute name="timeout" type="unsignedInt" default="3600"/>\r
442                         <attribute name="checkAddress" type="boolean" default="true"/>\r
443                         <attribute name="consistentAddress" type="boolean" default="true"/>\r
444                         <anyAttribute namespace="##other" processContents="lax"/>\r
445                 </complexType>\r
446         </element>\r
447         \r
448         <attribute name="policyId" type="conf:string">\r
449                 <annotation>\r
450                         <documentation>Used to reference Policy elements from profile endpoints.</documentation>\r
451                 </annotation>\r
452         </attribute>\r
453 \r
454         <element name="SessionInitiator">\r
455                 <annotation>\r
456                         <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>\r
457                 </annotation>\r
458                 <complexType>\r
459                         <complexContent>\r
460                                 <restriction base="conf:PluggableType">\r
461                                         <sequence>\r
462                                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
463                                         </sequence>\r
464                                         <attribute name="Location" type="anyURI"/>\r
465                                         <attribute name="id" type="conf:string"/>\r
466                                         <attribute name="isDefault" type="boolean"/>\r
467                                         <attribute name="relayState" type="conf:string"/>\r
468                                         <attribute name="entityIDParam" type="conf:string"/>\r
469                                         <attribute name="entityID" type="anyURI"/>\r
470                                         <attribute name="URL" type="anyURI"/>\r
471                                         <attribute name="outgoingBindings" type="conf:listOfURIs"/>\r
472                                         <attribute name="template" type="anyURI"/>\r
473                                         <attribute name="postArtifact" type="boolean"/>\r
474                                         <attribute name="acsByIndex" type="boolean"/>\r
475                                         <attribute name="defaultACSIndex" type="unsignedShort"/>\r
476                                         <anyAttribute namespace="##any" processContents="lax"/>\r
477                                 </restriction>\r
478                         </complexContent>\r
479                 </complexType>\r
480         </element>\r
481         \r
482         <element name="Errors">\r
483                 <annotation>\r
484                         <documentation>Container for error templates and associated details</documentation>\r
485                 </annotation>\r
486                 <complexType>\r
487                         <sequence>\r
488                                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>\r
489                         </sequence>\r
490                         <attribute name="session" type="anyURI" use="required"/>\r
491                         <attribute name="metadata" type="anyURI"/>\r
492                         <attribute name="rm" type="anyURI"/>\r
493                         <attribute name="access" type="anyURI"/>\r
494                         <attribute name="ssl" type="anyURI"/>\r
495                         <attribute name="supportContact" type="conf:string"/>\r
496                         <attribute name="logoLocation" type="anyURI"/>\r
497                         <attribute name="styleSheet" type="anyURI"/>\r
498                         <anyAttribute namespace="##any" processContents="lax"/>\r
499                 </complexType>\r
500         </element>\r
501 \r
502         <element name="NotifyOnLogout">\r
503                 <annotation>\r
504                         <documentation>Used to specify locations to receive application notifications of logout</documentation>\r
505                 </annotation>\r
506                 <complexType>\r
507                         <sequence/>\r
508                         <attribute name="Channel" use="required">\r
509                                 <simpleType>\r
510                                         <restriction base="string">\r
511                                                 <enumeration value="front"/>\r
512                                                 <enumeration value="back"/>\r
513                                         </restriction>\r
514                                 </simpleType>\r
515                         </attribute>\r
516                         <attribute name="Location" type="anyURI" use="required"/>\r
517                         <anyAttribute namespace="##any" processContents="lax"/>\r
518                 </complexType>\r
519         </element>\r
520         \r
521         <element name="DefaultRelyingParty">\r
522                 <annotation>\r
523                         <documentation>Container for specifying security methods to use with particular peers</documentation>\r
524                 </annotation>\r
525                 <complexType>\r
526                         <sequence>\r
527                                 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">\r
528                                         <complexType>\r
529                                                 <sequence/>\r
530                                                 <attribute name="Name" type="conf:string" use="required"/>\r
531                                                 <attributeGroup ref="conf:RelyingPartyGroup"/>\r
532                                                 <anyAttribute namespace="##other" processContents="lax"/>\r
533                                         </complexType>\r
534                                 </element>\r
535                         </sequence>\r
536                         <attributeGroup ref="conf:RelyingPartyGroup"/>\r
537                 <anyAttribute namespace="##other" processContents="lax"/>\r
538                 </complexType>\r
539         </element>\r
540         \r
541         <attributeGroup name="RelyingPartyGroup">\r
542                 <attribute name="authType" type="conf:string"/>\r
543                 <attribute name="authUsername" type="conf:string"/>\r
544                 <attribute name="authPassword" type="conf:string"/>\r
545                 <attribute name="signRequests" type="bindingBoolean"/>\r
546                 <attribute name="signResponses" type="bindingBoolean"/>\r
547                 <attribute name="signatureAlg" type="anyURI"/>\r
548                 <attribute name="digestAlg" type="anyURI"/>\r
549                 <attribute name="encryptRequests" type="bindingBoolean"/>\r
550                 <attribute name="encryptResponses" type="bindingBoolean"/>\r
551                 <attribute name="encryptionAlg" type="anyURI"/>\r
552                 <attribute name="keyName" type="conf:string"/>\r
553                 <attribute name="artifactEndpointIndex" type="unsignedShort"/>\r
554         </attributeGroup>\r
555         \r
556         <element name="SecurityPolicies">\r
557                 <annotation>\r
558                         <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>\r
559                 </annotation>\r
560                 <complexType>\r
561                         <sequence>\r
562                                 <element name="Policy" minOccurs="1" maxOccurs="unbounded">\r
563                                         <annotation>\r
564                                                 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>\r
565                                         </annotation>\r
566                                         <complexType>\r
567                                                 <sequence>\r
568                                                         <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>\r
569                                                 </sequence>\r
570                                                 <attribute name="id" type="conf:string" use="required"/>\r
571                                                 <attribute name="validate" type="boolean" default="false"/>\r
572                                                 <attribute name="signedAssertions" type="boolean" default="false"/>\r
573                                                 <attribute name="requireConfidentiality" type="boolean" default="true"/>\r
574                                                 <attribute name="requireTransportAuth" type="boolean" default="true"/>\r
575                                                 <attribute name="chunkedEncoding" type="boolean" default="true"/>\r
576                                                 <attribute name="connectTimeout" type="unsignedShort" default="15"/>\r
577                                                 <attribute name="timeout" type="unsignedShort" default="30"/>\r
578                                                 <anyAttribute namespace="##any" processContents="lax"/>\r
579                                         </complexType>\r
580                                 </element>\r
581                         </sequence>\r
582                 </complexType>\r
583         </element>\r
584         \r
585 </schema>\r