1 <?xml version="1.0" encoding="US-ASCII"?>
\r
2 <schema targetNamespace="urn:mace:shibboleth:sp:config:2.0"
\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:md="urn:oasis:names:tc:SAML:2.0:metadata"
\r
7 elementFormDefault="qualified"
\r
8 attributeFormDefault="unqualified"
\r
9 blockDefault="substitution"
\r
12 <import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
\r
13 <import namespace="urn:oasis:names:tc:SAML:2.0:metadata" schemaLocation="saml-schema-metadata-2.0.xsd"/>
\r
17 2.0 schema for XML-based configuration of Shibboleth SP instances.
\r
18 First appearing in Shibboleth 2.0 release.
\r
22 <simpleType name="string">
23 <restriction base="string">
24 <minLength value="1"/>
\r
28 <simpleType name="listOfStrings">
\r
29 <list itemType="conf:string"/>
\r
32 <complexType name="PluggableType">
\r
34 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
36 <attribute name="type" type="conf:string" use="required"/>
\r
37 <anyAttribute namespace="##any" processContents="lax"/>
\r
40 <element name="SPConfig">
\r
43 <documentation>Root of configuration</documentation>
46 <element ref="conf:Extensions" minOccurs="0"/>
47 <element ref="conf:OutOfProcess"/>
48 <element ref="conf:InProcess"/>
49 <element ref="conf:Applications"/>
50 <element ref="conf:Credentials" minOccurs="0"/>
51 <element ref="conf:SecurityPolicies"/>
53 <attribute name="logger" type="anyURI"/>
54 <attribute name="clockSkew" type="unsignedInt"/>
55 <anyAttribute namespace="##other" processContents="lax"/>
59 <element name="Extensions">
\r
61 <documentation>Container for extension libraries and custom configuration</documentation>
\r
65 <element name="Library" minOccurs="0" maxOccurs="unbounded">
\r
68 <restriction base="conf:PluggableType">
\r
70 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
72 <attribute name="path" type="anyURI" use="required"/>
\r
73 <attribute name="fatal" type="boolean" default="true"/>
\r
78 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
83 <element name="StorageService">
\r
85 <documentation>References StorageService plugins</documentation>
\r
89 <restriction base="conf:PluggableType">
\r
91 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
93 <attribute name="id" type="ID" use="required"/>
\r
94 <attribute name="cleanupInterval" type="unsignedInt" default="900"/>
\r
95 <anyAttribute namespace="##any" processContents="lax"/>
\r
101 <element name="SessionCache">
\r
103 <documentation>References SessionCache plugins</documentation>
\r
107 <restriction base="conf:PluggableType">
\r
109 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
111 <attribute name="StorageService" type="IDREF"/>
\r
112 <attribute name="cacheTimeout" type="unsignedInt" default="28800"/>
\r
113 <anyAttribute namespace="##any" processContents="lax"/>
\r
119 <element name="ReplayCache">
121 <documentation>Ties ReplayCache to a custom StorageService</documentation>
\r
125 <attribute name="StorageService" type="IDREF" use="required"/>
\r
129 <element name="ArtifactMap">
131 <documentation>Customizes an ArtifactMap</documentation>
\r
135 <attribute name="StorageService" type="IDREF"/>
136 <attribute name="context" type="conf:string"/>
137 <attribute name="artifactTTL" type="unsignedInt" default="180"/>
\r
141 <element name="OutOfProcess">
\r
143 <documentation>Container for shibd out-of-process configuration</documentation>
\r
147 <element ref="conf:Extensions" minOccurs="0"/>
149 <element name="UnixListener">
151 <attribute name="address" type="conf:string" use="required"/>
154 <element name="TCPListener">
156 <attribute name="address" type="conf:string" use="required"/>
157 <attribute name="port" type="unsignedInt" use="required"/>
158 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
161 <element name="Listener" type="conf:PluggableType"/>
163 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
164 <element ref="conf:SessionCache" minOccurs="0"/>
165 <element ref="conf:ReplayCache" minOccurs="0"/>
\r
166 <element ref="conf:ArtifactMap" minOccurs="0"/>
167 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
169 <attribute name="logger" type="anyURI"/>
170 <anyAttribute namespace="##other" processContents="lax"/>
\r
174 <element name="InProcess">
\r
177 Container for configuration of locally integrated or platform-specific
\r
178 features (e.g. web server filters)
\r
183 <element ref="conf:Extensions" minOccurs="0"/>
184 <element ref="conf:SessionCache" minOccurs="0"/>
\r
185 <element name="RequestMapper" type="conf:PluggableType"/>
186 <element name="Implementation" minOccurs="0">
189 <element ref="conf:ISAPI" minOccurs="0"/>
190 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
194 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
196 <attribute name="logger" type="anyURI"/>
197 <anyAttribute namespace="##other" processContents="lax"/>
\r
201 <element name="ISAPI">
\r
204 <element name="Site" maxOccurs="unbounded">
\r
207 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
209 <attribute name="id" type="unsignedInt" use="required"/>
\r
210 <attribute name="name" type="conf:string" use="required"/>
\r
211 <attribute name="port" type="unsignedInt"/>
\r
212 <attribute name="sslport" type="unsignedInt"/>
\r
213 <attribute name="scheme" type="conf:string"/>
\r
216 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
218 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
219 <anyAttribute namespace="##other" processContents="lax"/>
\r
223 <element name="AccessControl" type="conf:UniOperatorType">
\r
226 A simple example access policy language extension that supersedes Apache .htaccess
\r
230 <element name="OR" type="conf:MultiOperatorType"/>
\r
231 <element name="AND" type="conf:MultiOperatorType"/>
\r
232 <element name="NOT" type="conf:UniOperatorType"/>
\r
233 <complexType name="UniOperatorType">
\r
235 <element ref="conf:AND"/>
\r
236 <element ref="conf:OR"/>
\r
237 <element ref="conf:NOT"/>
\r
238 <element ref="conf:Rule"/>
\r
241 <complexType name="MultiOperatorType">
\r
242 <choice minOccurs="2" maxOccurs="unbounded">
\r
243 <element ref="conf:AND"/>
\r
244 <element ref="conf:OR"/>
\r
245 <element ref="conf:NOT"/>
\r
246 <element ref="conf:Rule"/>
\r
249 <element name="Rule">
\r
252 <extension base="conf:listOfStrings">
\r
253 <attribute name="require" type="conf:string" use="required"/>
\r
259 <attributeGroup name="ContentSettings">
\r
260 <attribute name="authType" type="conf:string"/>
\r
261 <attribute name="requireSession" type="boolean"/>
\r
262 <attribute name="requireSessionWith" type="conf:string"/>
\r
263 <attribute name="exportAssertion" type="boolean"/>
\r
264 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
265 <anyAttribute namespace="##other" processContents="lax"/>
\r
267 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
268 <element name="htaccess" type="conf:PluggableType"/>
\r
270 <element name="RequestMap">
\r
273 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
278 <choice minOccurs="0">
\r
279 <element ref="conf:htaccess"/>
\r
280 <element ref="conf:AccessControl"/>
\r
281 <element ref="conf:AccessControlProvider"/>
\r
283 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
285 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
286 <attributeGroup ref="conf:ContentSettings"/>
\r
290 <element name="Host">
\r
293 <choice minOccurs="0">
\r
294 <element ref="conf:htaccess"/>
\r
295 <element ref="conf:AccessControl"/>
\r
296 <element ref="conf:AccessControlProvider"/>
\r
298 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
300 <attribute name="scheme">
\r
302 <restriction base="conf:string">
\r
303 <enumeration value="http"/>
\r
304 <enumeration value="https"/>
\r
305 <enumeration value="ftp"/>
\r
306 <enumeration value="ldap"/>
\r
307 <enumeration value="ldaps"/>
\r
311 <attribute name="name" type="conf:string" use="required"/>
\r
312 <attribute name="port" type="unsignedInt"/>
\r
313 <attribute name="applicationId" type="conf:string"/>
\r
314 <attributeGroup ref="conf:ContentSettings"/>
\r
318 <element name="Path">
\r
321 <choice minOccurs="0">
\r
322 <element ref="conf:htaccess"/>
\r
323 <element ref="conf:AccessControl"/>
\r
324 <element ref="conf:AccessControlProvider"/>
\r
326 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
328 <attribute name="name" type="conf:string" use="required"/>
\r
329 <attribute name="applicationId" type="conf:string"/>
\r
330 <attributeGroup ref="conf:ContentSettings"/>
\r
334 <element name="Applications">
\r
336 <documentation>Container for global settings and application-specific overrides</documentation>
\r
340 <element ref="conf:Sessions"/>
\r
341 <element ref="conf:Errors"/>
\r
342 <element ref="conf:CredentialUse" minOccurs="0"/>
\r
343 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
344 <element name="MetadataProvider" type="conf:PluggableType"/>
345 <element name="TrustEngine" type="conf:PluggableType"/>
\r
346 <element name="AttributeResolver" type="conf:PluggableType"/>
\r
347 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
349 <attribute name="id" type="conf:string" fixed="default"/>
\r
350 <attribute name="providerId" type="anyURI" use="required"/>
\r
351 <attribute name="policyId" type="conf:string" use="required"/>
\r
352 <attribute name="homeURL" type="anyURI"/>
\r
353 <anyAttribute namespace="##other" processContents="lax"/>
\r
357 <element name="Application">
\r
359 <documentation>Container for application-specific overrides</documentation>
\r
363 <element ref="conf:Sessions" minOccurs="0"/>
\r
364 <element ref="conf:Errors" minOccurs="0"/>
\r
365 <element ref="conf:CredentialUse" minOccurs="0"/>
\r
366 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
367 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
368 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
369 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
371 <attribute name="id" type="conf:string" use="required"/>
\r
372 <attribute name="providerId" type="anyURI"/>
\r
373 <attribute name="policyId" type="conf:string"/>
\r
374 <attribute name="homeURL" type="anyURI"/>
\r
375 <anyAttribute namespace="##other" processContents="lax"/>
\r
379 <element name="Sessions">
\r
381 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
384 <choice maxOccurs="unbounded">
\r
385 <element ref="conf:SessionInitiator"/>
\r
386 <element ref="md:AssertionConsumerService"/>
\r
387 <element ref="md:SingleLogoutService"/>
\r
388 <element ref="md:ManageNameIDService"/>
\r
389 <element name="Handler">
392 <restriction base="conf:PluggableType">
\r
394 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
396 <attribute name="Location" type="anyURI" use="required"/>
\r
402 <attribute name="handlerURL" type="anyURI"/>
\r
403 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
404 <attribute name="redirectErrors" type="anyURI"/>
\r
405 <attribute name="cookieName" type="conf:string"/>
\r
406 <attribute name="cookieProps" type="conf:string"/>
\r
407 <attribute name="idpHistory" type="boolean" default="true"/>
\r
408 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
409 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
410 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
411 <attribute name="checkAddress" type="boolean" default="true"/>
\r
412 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
413 <anyAttribute namespace="##other" processContents="lax"/>
\r
417 <attribute name="policyId" type="conf:string">
419 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
423 <element name="SessionInitiator">
\r
425 <documentation>Used to specify handlers that can issue AuthnRequests</documentation>
\r
429 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
431 <attribute name="Location" type="anyURI" use="required"/>
\r
432 <attribute name="Binding" type="anyURI" use="required"/>
\r
433 <attribute name="id" type="conf:string"/>
\r
434 <attribute name="isDefault" type="boolean"/>
\r
435 <attribute name="wayfURL" type="anyURI"/>
\r
436 <attribute name="wayfBinding" type="anyURI"/>
\r
437 <attribute name="relayState" type="conf:string"/>
\r
438 <anyAttribute namespace="##any" processContents="lax"/>
\r
442 <element name="Errors">
\r
444 <documentation>Container for error templates and associated details</documentation>
\r
448 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
450 <attribute name="session" type="anyURI" use="required"/>
\r
451 <attribute name="metadata" type="anyURI"/>
\r
452 <attribute name="rm" type="anyURI"/>
\r
453 <attribute name="access" type="anyURI"/>
\r
454 <attribute name="ssl" type="anyURI"/>
\r
455 <attribute name="supportContact" type="conf:string"/>
\r
456 <attribute name="logoLocation" type="anyURI"/>
\r
457 <attribute name="styleSheet" type="anyURI"/>
\r
458 <anyAttribute namespace="##any" processContents="lax"/>
\r
462 <attributeGroup name="CredentialUseGroup">
\r
463 <attribute name="TLS" type="conf:string"/>
\r
464 <attribute name="Signing" type="conf:string"/>
\r
465 <attribute name="signRequests" type="boolean" default="false"/>
\r
466 <attribute name="signatureAlg" type="anyURI"/>
\r
467 <attribute name="authType">
\r
469 <restriction base="conf:string">
\r
470 <enumeration value="basic"/>
\r
471 <enumeration value="digest"/>
\r
472 <enumeration value="ntlm"/>
\r
473 <enumeration value="gss"/>
\r
477 <attribute name="authUsername"/>
\r
478 <attribute name="authPassword"/>
\r
481 <element name="CredentialUse">
\r
483 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
487 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
490 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
492 <attribute name="Name" type="conf:string" use="required"/>
\r
493 <attributeGroup ref="conf:CredentialUseGroup"/>
\r
494 <anyAttribute namespace="##other" processContents="lax"/>
\r
497 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
499 <attributeGroup ref="conf:CredentialUseGroup"/>
\r
500 <anyAttribute namespace="##other" processContents="lax"/>
\r
504 <element name="Credentials">
506 <documentation>Container for specifying sources of credentials</documentation>
\r
510 <element name="CredentialResolver" minOccurs="1" maxOccurs="unbounded">
512 <documentation>References CredentialResolver plugins</documentation>
\r
516 <restriction base="conf:PluggableType">
518 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
520 <attribute name="id" type="conf:string" use="required"/>
\r
521 <anyAttribute namespace="##any" processContents="lax"/>
530 <element name="SecurityPolicies">
532 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
536 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
538 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
542 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
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