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="authnContextDeclRef" type="anyURI"/>
\r
272 <attribute name="authnContextComparison" type="conf:string"/>
\r
273 <anyAttribute namespace="##other" processContents="lax"/>
\r
275 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
276 <element name="htaccess" type="conf:PluggableType"/>
\r
278 <element name="RequestMap">
\r
281 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
286 <choice minOccurs="0">
\r
287 <element ref="conf:htaccess"/>
\r
288 <element ref="conf:AccessControl"/>
\r
289 <element ref="conf:AccessControlProvider"/>
\r
291 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
293 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
294 <attributeGroup ref="conf:ContentSettings"/>
\r
298 <element name="Host">
\r
301 <choice minOccurs="0">
\r
302 <element ref="conf:htaccess"/>
\r
303 <element ref="conf:AccessControl"/>
\r
304 <element ref="conf:AccessControlProvider"/>
\r
306 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
308 <attribute name="scheme">
\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
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
326 <element name="Path">
\r
329 <choice minOccurs="0">
\r
330 <element ref="conf:htaccess"/>
\r
331 <element ref="conf:AccessControl"/>
\r
332 <element ref="conf:AccessControlProvider"/>
\r
334 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\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
342 <element name="Applications">
\r
344 <documentation>Container for global settings and application-specific overrides</documentation>
\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"/>
352 <element name="MetadataProvider" type="conf:PluggableType"/>
353 <element name="TrustEngine" type="conf:PluggableType"/>
\r
354 <element name="AttributeResolver" type="conf:PluggableType"/>
\r
355 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
356 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
358 <attribute name="id" type="conf:string" fixed="default"/>
\r
359 <attribute name="entityID" type="anyURI" use="required"/>
\r
360 <attribute name="policyId" type="conf:string" use="required"/>
\r
361 <attribute name="homeURL" type="anyURI" default="/"/>
\r
362 <attribute name="attributeIds" type="conf:listOfStrings"/>
\r
363 <anyAttribute namespace="##other" processContents="lax"/>
\r
367 <element name="Application">
\r
369 <documentation>Container for application-specific overrides</documentation>
\r
373 <element ref="conf:Sessions" minOccurs="0"/>
\r
374 <element ref="conf:Errors" minOccurs="0"/>
\r
375 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>
\r
376 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
377 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
378 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
379 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
380 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
382 <attribute name="id" type="conf:string" use="required"/>
\r
383 <attribute name="entityID" type="anyURI"/>
\r
384 <attribute name="policyId" type="conf:string"/>
\r
385 <attribute name="homeURL" type="anyURI" default="/"/>
\r
386 <attribute name="attributeIds" type="conf:listOfStrings"/>
\r
387 <anyAttribute namespace="##other" processContents="lax"/>
\r
391 <element name="Sessions">
\r
393 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
396 <choice maxOccurs="unbounded">
\r
397 <element ref="conf:SessionInitiator"/>
\r
398 <element ref="md:AssertionConsumerService"/>
\r
399 <element ref="md:SingleLogoutService"/>
\r
400 <element ref="md:ManageNameIDService"/>
\r
401 <element name="Handler">
404 <restriction base="conf:PluggableType">
\r
406 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
408 <attribute name="Location" type="anyURI" use="required"/>
\r
414 <attribute name="handlerURL" type="anyURI"/>
\r
415 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
416 <attribute name="redirectErrors" type="anyURI"/>
\r
417 <attribute name="cookieName" type="conf:string"/>
\r
418 <attribute name="cookieProps" type="conf:string"/>
\r
419 <attribute name="idpHistory" type="boolean" default="true"/>
\r
420 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
421 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
422 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
423 <attribute name="checkAddress" type="boolean" default="true"/>
\r
424 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
425 <anyAttribute namespace="##other" processContents="lax"/>
\r
429 <attribute name="policyId" type="conf:string">
431 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
435 <element name="SessionInitiator">
\r
437 <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
\r
441 <restriction base="conf:PluggableType">
\r
443 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
445 <attribute name="Location" type="anyURI"/>
\r
446 <attribute name="id" type="conf:string"/>
\r
447 <attribute name="isDefault" type="boolean"/>
\r
448 <attribute name="relayState" type="conf:string"/>
\r
449 <attribute name="entityIDParam" type="conf:string"/>
\r
450 <attribute name="entityID" type="anyURI"/>
\r
451 <attribute name="URL" type="anyURI"/>
\r
452 <attribute name="outgoingBindings" type="conf:listOfURIs"/>
\r
453 <attribute name="template" type="anyURI"/>
\r
454 <attribute name="acsByIndex" type="boolean"/>
\r
455 <anyAttribute namespace="##any" processContents="lax"/>
\r
461 <element name="Errors">
\r
463 <documentation>Container for error templates and associated details</documentation>
\r
467 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
469 <attribute name="session" type="anyURI" use="required"/>
\r
470 <attribute name="metadata" type="anyURI"/>
\r
471 <attribute name="rm" type="anyURI"/>
\r
472 <attribute name="access" type="anyURI"/>
\r
473 <attribute name="ssl" type="anyURI"/>
\r
474 <attribute name="supportContact" type="conf:string"/>
\r
475 <attribute name="logoLocation" type="anyURI"/>
\r
476 <attribute name="styleSheet" type="anyURI"/>
\r
477 <anyAttribute namespace="##any" processContents="lax"/>
\r
481 <element name="DefaultRelyingParty">
\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 <attribute name="Name" type="conf:string" use="required"/>
\r
491 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
492 <anyAttribute namespace="##other" processContents="lax"/>
\r
496 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
497 <anyAttribute namespace="##other" processContents="lax"/>
\r
501 <attributeGroup name="RelyingPartyGroup">
\r
502 <attribute name="authType" type="conf:string" default="TLS"/>
\r
503 <attribute name="authUsername" type="conf:string"/>
\r
504 <attribute name="authPassword" type="conf:string"/>
\r
505 <attribute name="signRequests" type="boolean" default="false"/>
506 <attribute name="signatureAlg" type="anyURI"/>
\r
507 <attribute name="digestAlg" type="anyURI"/>
\r
508 <attribute name="encryptRequests" type="boolean" default="true"/>
\r
509 <attribute name="encryptionAlg" type="anyURI"/>
\r
512 <element name="SecurityPolicies">
514 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
518 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
520 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
524 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
526 <attribute name="id" type="conf:string" use="required"/>
\r
527 <attribute name="validate" type="boolean" default="false"/>
\r
528 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
529 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
530 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
531 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
532 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
533 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
534 <anyAttribute namespace="##any" processContents="lax"/>
\r