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 <simpleType name="listOfURIs">
\r
33 <list itemType="anyURI"/>
\r
36 <complexType name="PluggableType">
\r
38 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
40 <attribute name="type" type="conf:string" use="required"/>
\r
41 <anyAttribute namespace="##any" processContents="lax"/>
\r
44 <element name="SPConfig">
\r
47 <documentation>Root of configuration</documentation>
50 <element ref="conf:Extensions" minOccurs="0"/>
51 <element ref="conf:OutOfProcess"/>
52 <element ref="conf:InProcess"/>
53 <element ref="conf:Applications"/>
54 <element ref="conf:SecurityPolicies"/>
56 <attribute name="logger" type="anyURI"/>
57 <attribute name="clockSkew" type="unsignedInt"/>
58 <anyAttribute namespace="##other" processContents="lax"/>
62 <element name="Extensions">
\r
64 <documentation>Container for extension libraries and custom configuration</documentation>
\r
68 <element name="Library" minOccurs="0" maxOccurs="unbounded">
\r
71 <restriction base="conf:PluggableType">
\r
73 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
75 <attribute name="path" type="anyURI" use="required"/>
\r
76 <attribute name="fatal" type="boolean" default="true"/>
\r
81 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
86 <element name="StorageService">
\r
88 <documentation>References StorageService plugins</documentation>
\r
92 <restriction base="conf:PluggableType">
\r
94 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
96 <attribute name="id" type="ID" use="required"/>
\r
97 <attribute name="cleanupInterval" type="unsignedInt" default="900"/>
\r
98 <anyAttribute namespace="##any" processContents="lax"/>
\r
104 <element name="SessionCache">
\r
106 <documentation>References SessionCache plugins</documentation>
\r
110 <restriction base="conf:PluggableType">
\r
112 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
114 <attribute name="StorageService" type="IDREF"/>
\r
115 <attribute name="cacheTimeout" type="unsignedInt" default="28800"/>
\r
116 <anyAttribute namespace="##any" processContents="lax"/>
\r
122 <element name="ReplayCache">
124 <documentation>Ties ReplayCache to a custom StorageService</documentation>
\r
128 <attribute name="StorageService" type="IDREF" use="required"/>
\r
132 <element name="ArtifactMap">
134 <documentation>Customizes an ArtifactMap</documentation>
\r
138 <attribute name="StorageService" type="IDREF"/>
139 <attribute name="context" type="conf:string"/>
140 <attribute name="artifactTTL" type="unsignedInt" default="180"/>
\r
144 <element name="OutOfProcess">
\r
146 <documentation>Container for shibd out-of-process configuration</documentation>
\r
150 <element ref="conf:Extensions" minOccurs="0"/>
152 <element name="UnixListener">
154 <attribute name="address" type="conf:string" use="required"/>
157 <element name="TCPListener">
159 <attribute name="address" type="conf:string" use="required"/>
160 <attribute name="port" type="unsignedInt" use="required"/>
161 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
164 <element name="Listener" type="conf:PluggableType"/>
166 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
167 <element ref="conf:SessionCache" minOccurs="0"/>
168 <element ref="conf:ReplayCache" minOccurs="0"/>
\r
169 <element ref="conf:ArtifactMap" minOccurs="0"/>
170 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
172 <attribute name="logger" type="anyURI"/>
173 <anyAttribute namespace="##other" processContents="lax"/>
\r
177 <element name="InProcess">
\r
180 Container for configuration of locally integrated or platform-specific
\r
181 features (e.g. web server filters)
\r
186 <element ref="conf:Extensions" minOccurs="0"/>
187 <element ref="conf:SessionCache" minOccurs="0"/>
\r
188 <element name="RequestMapper" type="conf:PluggableType"/>
189 <element name="Implementation" minOccurs="0">
192 <element ref="conf:ISAPI" minOccurs="0"/>
193 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
197 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
199 <attribute name="logger" type="anyURI"/>
200 <anyAttribute namespace="##other" processContents="lax"/>
\r
204 <element name="ISAPI">
\r
207 <element name="Site" maxOccurs="unbounded">
\r
210 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
212 <attribute name="id" type="unsignedInt" use="required"/>
\r
213 <attribute name="name" type="conf:string" use="required"/>
\r
214 <attribute name="port" type="unsignedInt"/>
\r
215 <attribute name="sslport" type="unsignedInt"/>
\r
216 <attribute name="scheme" type="conf:string"/>
\r
219 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
221 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
222 <anyAttribute namespace="##other" processContents="lax"/>
\r
226 <element name="AccessControl" type="conf:UniOperatorType">
\r
229 A simple example access policy language extension that supersedes Apache .htaccess
\r
233 <element name="OR" type="conf:MultiOperatorType"/>
\r
234 <element name="AND" type="conf:MultiOperatorType"/>
\r
235 <element name="NOT" type="conf:UniOperatorType"/>
\r
236 <complexType name="UniOperatorType">
\r
238 <element ref="conf:AND"/>
\r
239 <element ref="conf:OR"/>
\r
240 <element ref="conf:NOT"/>
\r
241 <element ref="conf:Rule"/>
\r
244 <complexType name="MultiOperatorType">
\r
245 <choice minOccurs="2" maxOccurs="unbounded">
\r
246 <element ref="conf:AND"/>
\r
247 <element ref="conf:OR"/>
\r
248 <element ref="conf:NOT"/>
\r
249 <element ref="conf:Rule"/>
\r
252 <element name="Rule">
\r
255 <extension base="conf:listOfStrings">
\r
256 <attribute name="require" type="conf:string" use="required"/>
\r
262 <attributeGroup name="ContentSettings">
\r
263 <attribute name="authType" type="conf:string"/>
\r
264 <attribute name="requireSession" type="boolean"/>
\r
265 <attribute name="requireSessionWith" type="conf:string"/>
\r
266 <attribute name="exportAssertion" type="boolean"/>
\r
267 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
268 <attribute name="isPassive" type="boolean"/>
\r
269 <attribute name="forceAuthn" type="boolean"/>
\r
270 <attribute name="authnContextClassRef" type="anyURI"/>
\r
271 <attribute name="authnContextComparison" type="conf:string"/>
\r
272 <anyAttribute namespace="##other" processContents="lax"/>
\r
274 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
275 <element name="htaccess" type="conf:PluggableType"/>
\r
277 <element name="RequestMap">
\r
280 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
285 <choice minOccurs="0">
\r
286 <element ref="conf:htaccess"/>
\r
287 <element ref="conf:AccessControl"/>
\r
288 <element ref="conf:AccessControlProvider"/>
\r
290 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
292 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
293 <attributeGroup ref="conf:ContentSettings"/>
\r
297 <element name="Host">
\r
300 <choice minOccurs="0">
\r
301 <element ref="conf:htaccess"/>
\r
302 <element ref="conf:AccessControl"/>
\r
303 <element ref="conf:AccessControlProvider"/>
\r
305 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
307 <attribute name="scheme">
\r
309 <restriction base="conf:string">
\r
310 <enumeration value="http"/>
\r
311 <enumeration value="https"/>
\r
312 <enumeration value="ftp"/>
\r
313 <enumeration value="ldap"/>
\r
314 <enumeration value="ldaps"/>
\r
318 <attribute name="name" type="conf:string" use="required"/>
\r
319 <attribute name="port" type="unsignedInt"/>
\r
320 <attribute name="applicationId" type="conf:string"/>
\r
321 <attributeGroup ref="conf:ContentSettings"/>
\r
325 <element name="Path">
\r
328 <choice minOccurs="0">
\r
329 <element ref="conf:htaccess"/>
\r
330 <element ref="conf:AccessControl"/>
\r
331 <element ref="conf:AccessControlProvider"/>
\r
333 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
335 <attribute name="name" type="conf:string" use="required"/>
\r
336 <attribute name="applicationId" type="conf:string"/>
\r
337 <attributeGroup ref="conf:ContentSettings"/>
\r
341 <element name="Applications">
\r
343 <documentation>Container for global settings and application-specific overrides</documentation>
\r
347 <element ref="conf:Sessions"/>
\r
348 <element ref="conf:Errors"/>
\r
349 <element ref="conf:DefaultRelyingParty"/>
\r
350 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
351 <element name="MetadataProvider" type="conf:PluggableType"/>
352 <element name="TrustEngine" type="conf:PluggableType"/>
\r
353 <element name="AttributeResolver" type="conf:PluggableType"/>
\r
354 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
355 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
357 <attribute name="id" type="conf:string" fixed="default"/>
\r
358 <attribute name="entityID" type="anyURI" use="required"/>
\r
359 <attribute name="policyId" type="conf:string" use="required"/>
\r
360 <attribute name="homeURL" type="anyURI" default="/"/>
\r
361 <attribute name="attributeIds" type="conf:listOfStrings"/>
\r
362 <anyAttribute namespace="##other" processContents="lax"/>
\r
366 <element name="Application">
\r
368 <documentation>Container for application-specific overrides</documentation>
\r
372 <element ref="conf:Sessions" minOccurs="0"/>
\r
373 <element ref="conf:Errors" minOccurs="0"/>
\r
374 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>
\r
375 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
376 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
377 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
378 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
379 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
381 <attribute name="id" type="conf:string" use="required"/>
\r
382 <attribute name="entityID" type="anyURI"/>
\r
383 <attribute name="policyId" type="conf:string"/>
\r
384 <attribute name="homeURL" type="anyURI" default="/"/>
\r
385 <attribute name="attributeIds" type="conf:listOfStrings"/>
\r
386 <anyAttribute namespace="##other" processContents="lax"/>
\r
390 <element name="Sessions">
\r
392 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
395 <choice maxOccurs="unbounded">
\r
396 <element ref="conf:SessionInitiator"/>
\r
397 <element ref="md:AssertionConsumerService"/>
\r
398 <element ref="md:SingleLogoutService"/>
\r
399 <element ref="md:ManageNameIDService"/>
\r
400 <element name="Handler">
403 <restriction base="conf:PluggableType">
\r
405 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
407 <attribute name="Location" type="anyURI" use="required"/>
\r
413 <attribute name="handlerURL" type="anyURI"/>
\r
414 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
415 <attribute name="redirectErrors" type="anyURI"/>
\r
416 <attribute name="cookieName" type="conf:string"/>
\r
417 <attribute name="cookieProps" type="conf:string"/>
\r
418 <attribute name="idpHistory" type="boolean" default="true"/>
\r
419 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
420 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
421 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
422 <attribute name="checkAddress" type="boolean" default="true"/>
\r
423 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
424 <anyAttribute namespace="##other" processContents="lax"/>
\r
428 <attribute name="policyId" type="conf:string">
430 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
434 <element name="SessionInitiator">
\r
436 <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
\r
440 <restriction base="conf:PluggableType">
\r
442 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
444 <attribute name="Location" type="anyURI"/>
\r
445 <attribute name="id" type="conf:string"/>
\r
446 <attribute name="isDefault" type="boolean"/>
\r
447 <attribute name="relayState" type="conf:string"/>
\r
448 <attribute name="entityIDParam" type="conf:string"/>
\r
449 <attribute name="entityID" type="anyURI"/>
\r
450 <attribute name="URL" type="anyURI"/>
\r
451 <attribute name="outgoingBindings" type="conf:listOfURIs"/>
\r
452 <attribute name="template" type="anyURI"/>
\r
453 <attribute name="acsByIndex" type="boolean"/>
\r
454 <anyAttribute namespace="##any" processContents="lax"/>
\r
460 <element name="Errors">
\r
462 <documentation>Container for error templates and associated details</documentation>
\r
466 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
468 <attribute name="session" type="anyURI" use="required"/>
\r
469 <attribute name="metadata" type="anyURI"/>
\r
470 <attribute name="rm" type="anyURI"/>
\r
471 <attribute name="access" type="anyURI"/>
\r
472 <attribute name="ssl" type="anyURI"/>
\r
473 <attribute name="supportContact" type="conf:string"/>
\r
474 <attribute name="logoLocation" type="anyURI"/>
\r
475 <attribute name="styleSheet" type="anyURI"/>
\r
476 <anyAttribute namespace="##any" processContents="lax"/>
\r
480 <element name="DefaultRelyingParty">
\r
482 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
486 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
489 <attribute name="Name" type="conf:string" use="required"/>
\r
490 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
491 <anyAttribute namespace="##other" processContents="lax"/>
\r
495 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
496 <anyAttribute namespace="##other" processContents="lax"/>
\r
500 <attributeGroup name="RelyingPartyGroup">
\r
501 <attribute name="authType" type="conf:string" default="TLS"/>
\r
502 <attribute name="authUsername" type="conf:string"/>
\r
503 <attribute name="authPassword" type="conf:string"/>
\r
504 <attribute name="signRequests" type="boolean" default="false"/>
505 <attribute name="signatureAlg" type="anyURI"/>
\r
506 <attribute name="digestAlg" type="anyURI"/>
\r
507 <attribute name="encryptRequests" type="boolean" default="true"/>
\r
508 <attribute name="encryptionAlg" type="anyURI"/>
\r
511 <element name="SecurityPolicies">
513 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
517 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
519 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
523 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
525 <attribute name="id" type="conf:string" use="required"/>
\r
526 <attribute name="validate" type="boolean" default="false"/>
\r
527 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
528 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
529 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
530 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
531 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
532 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
533 <anyAttribute namespace="##any" processContents="lax"/>
\r