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