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:SecurityPolicies"/>
52 <attribute name="logger" type="anyURI"/>
53 <attribute name="clockSkew" type="unsignedInt"/>
54 <anyAttribute namespace="##other" processContents="lax"/>
58 <element name="Extensions">
\r
60 <documentation>Container for extension libraries and custom configuration</documentation>
\r
64 <element name="Library" minOccurs="0" maxOccurs="unbounded">
\r
67 <restriction base="conf:PluggableType">
\r
69 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
71 <attribute name="path" type="anyURI" use="required"/>
\r
72 <attribute name="fatal" type="boolean" default="true"/>
\r
77 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
82 <element name="StorageService">
\r
84 <documentation>References StorageService plugins</documentation>
\r
88 <restriction base="conf:PluggableType">
\r
90 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
92 <attribute name="id" type="ID" use="required"/>
\r
93 <attribute name="cleanupInterval" type="unsignedInt" default="900"/>
\r
94 <anyAttribute namespace="##any" processContents="lax"/>
\r
100 <element name="SessionCache">
\r
102 <documentation>References SessionCache plugins</documentation>
\r
106 <restriction base="conf:PluggableType">
\r
108 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
110 <attribute name="StorageService" type="IDREF"/>
\r
111 <attribute name="cacheTimeout" type="unsignedInt" default="28800"/>
\r
112 <anyAttribute namespace="##any" processContents="lax"/>
\r
118 <element name="ReplayCache">
120 <documentation>Ties ReplayCache to a custom StorageService</documentation>
\r
124 <attribute name="StorageService" type="IDREF" use="required"/>
\r
128 <element name="ArtifactMap">
130 <documentation>Customizes an ArtifactMap</documentation>
\r
134 <attribute name="StorageService" type="IDREF"/>
135 <attribute name="context" type="conf:string"/>
136 <attribute name="artifactTTL" type="unsignedInt" default="180"/>
\r
140 <element name="OutOfProcess">
\r
142 <documentation>Container for shibd out-of-process configuration</documentation>
\r
146 <element ref="conf:Extensions" minOccurs="0"/>
148 <element name="UnixListener">
150 <attribute name="address" type="conf:string" use="required"/>
153 <element name="TCPListener">
155 <attribute name="address" type="conf:string" use="required"/>
156 <attribute name="port" type="unsignedInt" use="required"/>
157 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
160 <element name="Listener" type="conf:PluggableType"/>
162 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
163 <element ref="conf:SessionCache" minOccurs="0"/>
164 <element ref="conf:ReplayCache" minOccurs="0"/>
\r
165 <element ref="conf:ArtifactMap" minOccurs="0"/>
166 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
168 <attribute name="logger" type="anyURI"/>
169 <anyAttribute namespace="##other" processContents="lax"/>
\r
173 <element name="InProcess">
\r
176 Container for configuration of locally integrated or platform-specific
\r
177 features (e.g. web server filters)
\r
182 <element ref="conf:Extensions" minOccurs="0"/>
183 <element ref="conf:SessionCache" minOccurs="0"/>
\r
184 <element name="RequestMapper" type="conf:PluggableType"/>
185 <element name="Implementation" minOccurs="0">
188 <element ref="conf:ISAPI" minOccurs="0"/>
189 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
193 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
195 <attribute name="logger" type="anyURI"/>
196 <anyAttribute namespace="##other" processContents="lax"/>
\r
200 <element name="ISAPI">
\r
203 <element name="Site" maxOccurs="unbounded">
\r
206 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
208 <attribute name="id" type="unsignedInt" use="required"/>
\r
209 <attribute name="name" type="conf:string" use="required"/>
\r
210 <attribute name="port" type="unsignedInt"/>
\r
211 <attribute name="sslport" type="unsignedInt"/>
\r
212 <attribute name="scheme" type="conf:string"/>
\r
215 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
217 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
218 <anyAttribute namespace="##other" processContents="lax"/>
\r
222 <element name="AccessControl" type="conf:UniOperatorType">
\r
225 A simple example access policy language extension that supersedes Apache .htaccess
\r
229 <element name="OR" type="conf:MultiOperatorType"/>
\r
230 <element name="AND" type="conf:MultiOperatorType"/>
\r
231 <element name="NOT" type="conf:UniOperatorType"/>
\r
232 <complexType name="UniOperatorType">
\r
234 <element ref="conf:AND"/>
\r
235 <element ref="conf:OR"/>
\r
236 <element ref="conf:NOT"/>
\r
237 <element ref="conf:Rule"/>
\r
240 <complexType name="MultiOperatorType">
\r
241 <choice minOccurs="2" maxOccurs="unbounded">
\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
248 <element name="Rule">
\r
251 <extension base="conf:listOfStrings">
\r
252 <attribute name="require" type="conf:string" use="required"/>
\r
258 <attributeGroup name="ContentSettings">
\r
259 <attribute name="authType" type="conf:string"/>
\r
260 <attribute name="requireSession" type="boolean"/>
\r
261 <attribute name="requireSessionWith" type="conf:string"/>
\r
262 <attribute name="exportAssertion" type="boolean"/>
\r
263 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
264 <anyAttribute namespace="##other" processContents="lax"/>
\r
266 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
267 <element name="htaccess" type="conf:PluggableType"/>
\r
269 <element name="RequestMap">
\r
272 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
277 <choice minOccurs="0">
\r
278 <element ref="conf:htaccess"/>
\r
279 <element ref="conf:AccessControl"/>
\r
280 <element ref="conf:AccessControlProvider"/>
\r
282 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
284 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
285 <attributeGroup ref="conf:ContentSettings"/>
\r
289 <element name="Host">
\r
292 <choice minOccurs="0">
\r
293 <element ref="conf:htaccess"/>
\r
294 <element ref="conf:AccessControl"/>
\r
295 <element ref="conf:AccessControlProvider"/>
\r
297 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
299 <attribute name="scheme">
\r
301 <restriction base="conf:string">
\r
302 <enumeration value="http"/>
\r
303 <enumeration value="https"/>
\r
304 <enumeration value="ftp"/>
\r
305 <enumeration value="ldap"/>
\r
306 <enumeration value="ldaps"/>
\r
310 <attribute name="name" type="conf:string" use="required"/>
\r
311 <attribute name="port" type="unsignedInt"/>
\r
312 <attribute name="applicationId" type="conf:string"/>
\r
313 <attributeGroup ref="conf:ContentSettings"/>
\r
317 <element name="Path">
\r
320 <choice minOccurs="0">
\r
321 <element ref="conf:htaccess"/>
\r
322 <element ref="conf:AccessControl"/>
\r
323 <element ref="conf:AccessControlProvider"/>
\r
325 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
327 <attribute name="name" type="conf:string" use="required"/>
\r
328 <attribute name="applicationId" type="conf:string"/>
\r
329 <attributeGroup ref="conf:ContentSettings"/>
\r
333 <element name="Applications">
\r
335 <documentation>Container for global settings and application-specific overrides</documentation>
\r
339 <element ref="conf:Sessions"/>
\r
340 <element ref="conf:Errors"/>
\r
341 <element ref="conf:DefaultRelyingParty"/>
\r
342 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
343 <element name="MetadataProvider" type="conf:PluggableType"/>
344 <element name="TrustEngine" type="conf:PluggableType"/>
\r
345 <element name="AttributeResolver" type="conf:PluggableType"/>
\r
346 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\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:DefaultRelyingParty" 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
370 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
372 <attribute name="id" type="conf:string" use="required"/>
\r
373 <attribute name="providerId" type="anyURI"/>
\r
374 <attribute name="policyId" type="conf:string"/>
\r
375 <attribute name="homeURL" type="anyURI"/>
\r
376 <anyAttribute namespace="##other" processContents="lax"/>
\r
380 <element name="Sessions">
\r
382 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
385 <choice maxOccurs="unbounded">
\r
386 <element ref="conf:SessionInitiator"/>
\r
387 <element ref="md:AssertionConsumerService"/>
\r
388 <element ref="md:SingleLogoutService"/>
\r
389 <element ref="md:ManageNameIDService"/>
\r
390 <element name="Handler">
393 <restriction base="conf:PluggableType">
\r
395 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
397 <attribute name="Location" type="anyURI" use="required"/>
\r
403 <attribute name="handlerURL" type="anyURI"/>
\r
404 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
405 <attribute name="redirectErrors" type="anyURI"/>
\r
406 <attribute name="cookieName" type="conf:string"/>
\r
407 <attribute name="cookieProps" type="conf:string"/>
\r
408 <attribute name="idpHistory" type="boolean" default="true"/>
\r
409 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
410 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
411 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
412 <attribute name="checkAddress" type="boolean" default="true"/>
\r
413 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
414 <anyAttribute namespace="##other" processContents="lax"/>
\r
418 <attribute name="policyId" type="conf:string">
420 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
424 <element name="SessionInitiator">
\r
426 <documentation>Used to specify handlers that can issue AuthnRequests</documentation>
\r
430 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
432 <attribute name="Location" type="anyURI" use="required"/>
\r
433 <attribute name="Binding" type="anyURI" use="required"/>
\r
434 <attribute name="id" type="conf:string"/>
\r
435 <attribute name="isDefault" type="boolean"/>
\r
436 <attribute name="wayfURL" type="anyURI"/>
\r
437 <attribute name="wayfBinding" type="anyURI"/>
\r
438 <attribute name="relayState" type="conf:string"/>
\r
439 <anyAttribute namespace="##any" processContents="lax"/>
\r
443 <element name="Errors">
\r
445 <documentation>Container for error templates and associated details</documentation>
\r
449 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
451 <attribute name="session" type="anyURI" use="required"/>
\r
452 <attribute name="metadata" type="anyURI"/>
\r
453 <attribute name="rm" type="anyURI"/>
\r
454 <attribute name="access" type="anyURI"/>
\r
455 <attribute name="ssl" type="anyURI"/>
\r
456 <attribute name="supportContact" type="conf:string"/>
\r
457 <attribute name="logoLocation" type="anyURI"/>
\r
458 <attribute name="styleSheet" type="anyURI"/>
\r
459 <anyAttribute namespace="##any" processContents="lax"/>
\r
463 <element name="DefaultRelyingParty">
\r
465 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
469 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
472 <attribute name="Name" type="conf:string" use="required"/>
\r
473 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
474 <anyAttribute namespace="##other" processContents="lax"/>
\r
478 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
479 <anyAttribute namespace="##other" processContents="lax"/>
\r
483 <attributeGroup name="RelyingPartyGroup">
\r
484 <attribute name="authType" type="conf:string" default="TLS"/>
\r
485 <attribute name="authUsername" type="conf:string"/>
\r
486 <attribute name="authPassword" type="conf:string"/>
\r
487 <attribute name="signRequests" type="boolean" default="false"/>
488 <attribute name="signatureAlg" type="anyURI"/>
\r
489 <attribute name="encryptRequests" type="boolean" default="true"/>
\r
492 <element name="SecurityPolicies">
494 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
498 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
500 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
504 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
506 <attribute name="id" type="conf:string" use="required"/>
\r
507 <attribute name="validate" type="boolean" default="false"/>
\r
508 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
509 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
510 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
511 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
512 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
513 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
514 <anyAttribute namespace="##any" processContents="lax"/>
\r