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="conf:string" 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="cacheTimeout" type="unsignedInt" default="28800"/>
\r
112 <anyAttribute namespace="##any" processContents="lax"/>
\r
118 <element name="ReplayCache">
120 <documentation>Ties ReplayCache to custom StorageService</documentation>
\r
124 <attribute name="StorageService" type="conf:string" use="required"/>
128 <element name="OutOfProcess">
\r
130 <documentation>Container for shibd out-of-process configuration</documentation>
\r
134 <element ref="conf:Extensions" minOccurs="0"/>
136 <element name="UnixListener">
138 <attribute name="address" type="conf:string" use="required"/>
141 <element name="TCPListener">
143 <attribute name="address" type="conf:string" use="required"/>
144 <attribute name="port" type="unsignedInt" use="required"/>
145 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
148 <element name="Listener" type="conf:PluggableType"/>
150 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
151 <element ref="conf:SessionCache" minOccurs="0"/>
152 <element ref="conf:ReplayCache" minOccurs="0"/>
153 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
155 <attribute name="logger" type="anyURI"/>
156 <anyAttribute namespace="##other" processContents="lax"/>
\r
160 <element name="InProcess">
\r
163 Container for configuration of locally integrated or platform-specific
\r
164 features (e.g. web server filters)
\r
169 <element ref="conf:Extensions" minOccurs="0"/>
170 <element name="RequestMapper" type="conf:PluggableType"/>
171 <element name="Implementation" minOccurs="0">
174 <element ref="conf:ISAPI" minOccurs="0"/>
175 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
179 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
181 <attribute name="logger" type="anyURI"/>
182 <attribute name="localRelayState" type="boolean" default="false"/>
183 <anyAttribute namespace="##other" processContents="lax"/>
\r
187 <element name="ISAPI">
\r
190 <element name="Site" maxOccurs="unbounded">
\r
193 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
195 <attribute name="id" type="unsignedInt" use="required"/>
\r
196 <attribute name="name" type="conf:string" use="required"/>
\r
197 <attribute name="port" type="unsignedInt"/>
\r
198 <attribute name="sslport" type="unsignedInt"/>
\r
199 <attribute name="scheme" type="conf:string"/>
\r
202 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
204 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
205 <anyAttribute namespace="##other" processContents="lax"/>
\r
209 <element name="AccessControl" type="conf:UniOperatorType">
\r
212 A simple example access policy language extension that supersedes Apache .htaccess
\r
216 <element name="OR" type="conf:MultiOperatorType"/>
\r
217 <element name="AND" type="conf:MultiOperatorType"/>
\r
218 <element name="NOT" type="conf:UniOperatorType"/>
\r
219 <complexType name="UniOperatorType">
\r
221 <element ref="conf:AND"/>
\r
222 <element ref="conf:OR"/>
\r
223 <element ref="conf:NOT"/>
\r
224 <element ref="conf:Rule"/>
\r
227 <complexType name="MultiOperatorType">
\r
228 <choice minOccurs="2" maxOccurs="unbounded">
\r
229 <element ref="conf:AND"/>
\r
230 <element ref="conf:OR"/>
\r
231 <element ref="conf:NOT"/>
\r
232 <element ref="conf:Rule"/>
\r
235 <element name="Rule">
\r
238 <extension base="conf:listOfStrings">
\r
239 <attribute name="require" type="conf:string" use="required"/>
\r
245 <attributeGroup name="ContentSettings">
\r
246 <attribute name="authType" type="conf:string"/>
\r
247 <attribute name="requireSession" type="boolean"/>
\r
248 <attribute name="requireSessionWith" type="conf:string"/>
\r
249 <attribute name="exportAssertion" type="boolean"/>
\r
250 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
251 <anyAttribute namespace="##other" processContents="lax"/>
\r
253 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
254 <element name="htaccess" type="conf:PluggableType"/>
\r
256 <element name="RequestMap">
\r
259 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
264 <choice minOccurs="0">
\r
265 <element ref="conf:htaccess"/>
\r
266 <element ref="conf:AccessControl"/>
\r
267 <element ref="conf:AccessControlProvider"/>
\r
269 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
271 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
272 <attributeGroup ref="conf:ContentSettings"/>
\r
276 <element name="Host">
\r
279 <choice minOccurs="0">
\r
280 <element ref="conf:htaccess"/>
\r
281 <element ref="conf:AccessControl"/>
\r
282 <element ref="conf:AccessControlProvider"/>
\r
284 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
286 <attribute name="scheme">
\r
288 <restriction base="conf:string">
\r
289 <enumeration value="http"/>
\r
290 <enumeration value="https"/>
\r
291 <enumeration value="ftp"/>
\r
292 <enumeration value="ldap"/>
\r
293 <enumeration value="ldaps"/>
\r
297 <attribute name="name" type="conf:string" use="required"/>
\r
298 <attribute name="port" type="unsignedInt"/>
\r
299 <attribute name="applicationId" type="conf:string"/>
\r
300 <attributeGroup ref="conf:ContentSettings"/>
\r
304 <element name="Path">
\r
307 <choice minOccurs="0">
\r
308 <element ref="conf:htaccess"/>
\r
309 <element ref="conf:AccessControl"/>
\r
310 <element ref="conf:AccessControlProvider"/>
\r
312 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
314 <attribute name="name" type="conf:string" use="required"/>
\r
315 <attribute name="applicationId" type="conf:string"/>
\r
316 <attributeGroup ref="conf:ContentSettings"/>
\r
320 <element name="Applications">
\r
322 <documentation>Container for global settings and application-specific overrides</documentation>
\r
326 <element ref="conf:Sessions"/>
\r
327 <element ref="conf:Errors"/>
\r
328 <element ref="conf:CredentialUse" minOccurs="0"/>
\r
329 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
330 <element name="MetadataProvider" type="conf:PluggableType"/>
331 <element name="TrustEngine" type="conf:PluggableType"/>
\r
332 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
334 <attribute name="id" type="conf:string" fixed="default"/>
\r
335 <attribute name="providerId" type="anyURI" use="required"/>
\r
336 <attribute name="policyId" type="conf:string" use="required"/>
\r
337 <attribute name="homeURL" type="anyURI"/>
\r
338 <anyAttribute namespace="##other" processContents="lax"/>
\r
342 <element name="Application">
\r
344 <documentation>Container for application-specific overrides</documentation>
\r
348 <element ref="conf:Sessions" minOccurs="0"/>
\r
349 <element ref="conf:Errors" minOccurs="0"/>
\r
350 <element ref="conf:CredentialUse" minOccurs="0"/>
\r
351 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
352 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
353 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
355 <attribute name="id" type="conf:string" use="required"/>
\r
356 <attribute name="providerId" type="anyURI"/>
\r
357 <attribute name="policyId" type="conf:string"/>
\r
358 <attribute name="homeURL" type="anyURI"/>
\r
359 <anyAttribute namespace="##other" processContents="lax"/>
\r
363 <element name="Sessions">
\r
365 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
368 <choice maxOccurs="unbounded">
\r
369 <element ref="conf:SessionInitiator"/>
\r
370 <element ref="md:AssertionConsumerService"/>
\r
371 <element ref="md:SingleLogoutService"/>
\r
372 <element ref="md:ManageNameIDService"/>
\r
373 <element name="Handler">
376 <restriction base="conf:PluggableType">
\r
378 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
380 <attribute name="Location" type="anyURI" use="required"/>
\r
386 <attribute name="handlerURL" type="anyURI"/>
\r
387 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
388 <attribute name="cookieName" type="conf:string"/>
\r
389 <attribute name="cookieProps" type="conf:string"/>
\r
390 <attribute name="idpHistory" type="boolean" default="true"/>
\r
391 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
392 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
393 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
394 <attribute name="checkAddress" type="boolean" default="true"/>
\r
395 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
396 <anyAttribute namespace="##other" processContents="lax"/>
\r
399 <element name="SessionInitiator">
\r
401 <documentation>Used to specify handlers that can issue AuthnRequests</documentation>
\r
405 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
407 <attribute name="Location" type="anyURI" use="required"/>
\r
408 <attribute name="Binding" type="anyURI" use="required"/>
\r
409 <attribute name="wayfURL" type="anyURI"/>
\r
410 <attribute name="wayfBinding" type="anyURI"/>
\r
411 <attribute name="isDefault" type="boolean"/>
\r
412 <attribute name="id" type="conf:string"/>
\r
413 <anyAttribute namespace="##any" processContents="lax"/>
\r
417 <element name="Errors">
\r
419 <documentation>Container for error templates and associated details</documentation>
\r
423 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
425 <attribute name="session" type="anyURI" use="required"/>
\r
426 <attribute name="metadata" type="anyURI"/>
\r
427 <attribute name="rm" type="anyURI"/>
\r
428 <attribute name="access" type="anyURI"/>
\r
429 <attribute name="ssl" type="anyURI"/>
\r
430 <attribute name="supportContact" type="conf:string"/>
\r
431 <attribute name="logoLocation" type="anyURI"/>
\r
432 <attribute name="styleSheet" type="anyURI"/>
\r
433 <anyAttribute namespace="##any" processContents="lax"/>
\r
437 <attributeGroup name="CredentialUseGroup">
\r
438 <attribute name="TLS" type="conf:string"/>
\r
439 <attribute name="Signing" type="conf:string"/>
\r
440 <attribute name="signRequests" type="boolean" default="false"/>
\r
441 <attribute name="signatureAlg" type="anyURI"/>
\r
442 <attribute name="authType">
\r
444 <restriction base="conf:string">
\r
445 <enumeration value="basic"/>
\r
446 <enumeration value="digest"/>
\r
447 <enumeration value="ntlm"/>
\r
448 <enumeration value="gss"/>
\r
452 <attribute name="authUsername"/>
\r
453 <attribute name="authPassword"/>
\r
456 <element name="CredentialUse">
\r
458 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
462 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
465 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
467 <attribute name="Name" type="conf:string" use="required"/>
\r
468 <attributeGroup ref="conf:CredentialUseGroup"/>
\r
469 <anyAttribute namespace="##other" processContents="lax"/>
\r
472 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
474 <attributeGroup ref="conf:CredentialUseGroup"/>
\r
475 <anyAttribute namespace="##other" processContents="lax"/>
\r
479 <element name="Credentials">
481 <documentation>Container for specifying sources of credentials</documentation>
\r
485 <element name="CredentialResolver" minOccurs="1" maxOccurs="unbounded">
487 <documentation>References CredentialResolver plugins</documentation>
\r
491 <restriction base="conf:PluggableType">
493 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
495 <attribute name="id" type="conf:string" use="required"/>
\r
496 <anyAttribute namespace="##any" processContents="lax"/>
505 <element name="SecurityPolicies">
507 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
511 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
513 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
517 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
519 <attribute name="id" type="conf:string" use="required"/>
\r
520 <attribute name="validate" type="boolean" default="false"/>
\r
521 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
522 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
523 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
524 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
525 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
526 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
527 <anyAttribute namespace="##any" processContents="lax"/>
\r