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