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