1 <?xml version="1.0" encoding="US-ASCII"?>
\r
2 <schema targetNamespace="urn:mace:shibboleth:2.0:native:sp:config"
\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:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
\r
7 xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
\r
8 elementFormDefault="qualified"
\r
9 attributeFormDefault="unqualified"
\r
10 blockDefault="substitution"
\r
13 <import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
\r
14 <import namespace="urn:oasis:names:tc:SAML:2.0:protocol" schemaLocation="saml-schema-protocol-2.0.xsd"/>
\r
15 <import namespace="urn:oasis:names:tc:SAML:2.0:metadata" schemaLocation="saml-schema-metadata-2.0.xsd"/>
\r
19 2.0 schema for XML-based configuration of Shibboleth Native SP instances.
\r
20 First appearing in Shibboleth 2.0 release.
\r
24 <simpleType name="string">
25 <restriction base="string">
26 <minLength value="1"/>
\r
30 <simpleType name="listOfStrings">
\r
31 <list itemType="conf:string"/>
\r
34 <simpleType name="listOfURIs">
\r
35 <list itemType="anyURI"/>
\r
38 <complexType name="PluggableType">
\r
40 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
42 <attribute name="type" type="conf:string" use="required"/>
\r
43 <anyAttribute namespace="##any" processContents="lax"/>
\r
46 <element name="SPConfig">
\r
49 <documentation>Root of configuration</documentation>
52 <element ref="conf:Extensions" minOccurs="0"/>
53 <element ref="conf:OutOfProcess"/>
54 <element ref="conf:InProcess"/>
55 <element ref="conf:Applications"/>
56 <element ref="conf:SecurityPolicies"/>
58 <attribute name="logger" type="anyURI"/>
59 <attribute name="clockSkew" type="unsignedInt"/>
60 <anyAttribute namespace="##other" processContents="lax"/>
64 <element name="Extensions">
\r
66 <documentation>Container for extension libraries and custom configuration</documentation>
\r
70 <element name="Library" minOccurs="0" maxOccurs="unbounded">
\r
73 <restriction base="conf:PluggableType">
\r
75 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
77 <attribute name="path" type="anyURI" use="required"/>
\r
78 <attribute name="fatal" type="boolean" default="true"/>
\r
83 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
88 <element name="StorageService">
\r
90 <documentation>References StorageService plugins</documentation>
\r
94 <restriction base="conf:PluggableType">
\r
96 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
98 <attribute name="id" type="ID" use="required"/>
\r
99 <attribute name="cleanupInterval" type="unsignedInt" default="900"/>
\r
100 <anyAttribute namespace="##any" processContents="lax"/>
\r
106 <element name="SessionCache">
\r
108 <documentation>References SessionCache plugins</documentation>
\r
112 <restriction base="conf:PluggableType">
\r
114 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
116 <attribute name="StorageService" type="IDREF"/>
\r
117 <attribute name="cacheTimeout" type="unsignedInt" default="28800"/>
\r
118 <anyAttribute namespace="##any" processContents="lax"/>
\r
124 <element name="ReplayCache">
126 <documentation>Ties ReplayCache to a custom StorageService</documentation>
\r
130 <attribute name="StorageService" type="IDREF" use="required"/>
\r
134 <element name="ArtifactMap">
136 <documentation>Customizes an ArtifactMap</documentation>
\r
140 <attribute name="StorageService" type="IDREF"/>
141 <attribute name="context" type="conf:string"/>
142 <attribute name="artifactTTL" type="unsignedInt" default="180"/>
\r
146 <element name="OutOfProcess">
\r
148 <documentation>Container for shibd out-of-process configuration</documentation>
\r
152 <element ref="conf:Extensions" minOccurs="0"/>
154 <element name="UnixListener">
156 <attribute name="address" type="conf:string" use="required"/>
159 <element name="TCPListener">
161 <attribute name="address" type="conf:string" use="required"/>
162 <attribute name="port" type="unsignedInt" use="required"/>
163 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
166 <element name="Listener" type="conf:PluggableType"/>
168 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
169 <element ref="conf:SessionCache" minOccurs="0"/>
170 <element ref="conf:ReplayCache" minOccurs="0"/>
\r
171 <element ref="conf:ArtifactMap" minOccurs="0"/>
172 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
174 <attribute name="logger" type="anyURI"/>
175 <anyAttribute namespace="##other" processContents="lax"/>
\r
179 <element name="InProcess">
\r
182 Container for configuration of locally integrated or platform-specific
\r
183 features (e.g. web server filters)
\r
188 <element ref="conf:Extensions" minOccurs="0"/>
189 <element ref="conf:SessionCache" minOccurs="0"/>
\r
190 <element name="RequestMapper" type="conf:PluggableType"/>
191 <element name="Implementation" minOccurs="0">
194 <element ref="conf:ISAPI" minOccurs="0"/>
195 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
199 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
201 <attribute name="logger" type="anyURI"/>
202 <attribute name="unsetHeaderValue" type="string" use="optional"/>
\r
203 <anyAttribute namespace="##other" processContents="lax"/>
\r
207 <element name="ISAPI">
\r
210 <element name="Site" maxOccurs="unbounded">
\r
213 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
215 <attribute name="id" type="unsignedInt" use="required"/>
\r
216 <attribute name="name" type="conf:string" use="required"/>
\r
217 <attribute name="port" type="unsignedInt"/>
\r
218 <attribute name="sslport" type="unsignedInt"/>
\r
219 <attribute name="scheme" type="conf:string"/>
\r
222 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
224 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
225 <anyAttribute namespace="##other" processContents="lax"/>
\r
229 <element name="AccessControl" type="conf:UniOperatorType">
\r
232 A simple example access policy language extension that supersedes Apache .htaccess
\r
236 <element name="OR" type="conf:MultiOperatorType"/>
\r
237 <element name="AND" type="conf:MultiOperatorType"/>
\r
238 <element name="NOT" type="conf:UniOperatorType"/>
\r
239 <complexType name="UniOperatorType">
\r
241 <element ref="conf:AND"/>
\r
242 <element ref="conf:OR"/>
\r
243 <element ref="conf:NOT"/>
\r
244 <element ref="conf:Rule"/>
\r
247 <complexType name="MultiOperatorType">
\r
248 <choice minOccurs="2" maxOccurs="unbounded">
\r
249 <element ref="conf:AND"/>
\r
250 <element ref="conf:OR"/>
\r
251 <element ref="conf:NOT"/>
\r
252 <element ref="conf:Rule"/>
\r
255 <element name="Rule">
\r
258 <extension base="conf:listOfStrings">
\r
259 <attribute name="require" type="conf:string" use="required"/>
\r
265 <attributeGroup name="ContentSettings">
\r
266 <attribute name="authType" type="conf:string"/>
\r
267 <attribute name="requireSession" type="boolean"/>
\r
268 <attribute name="requireSessionWith" type="conf:string"/>
\r
269 <attribute name="exportAssertion" type="boolean"/>
\r
270 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
271 <attribute name="isPassive" type="boolean"/>
\r
272 <attribute name="forceAuthn" type="boolean"/>
\r
273 <attribute name="authnContextClassRef" type="anyURI"/>
\r
274 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
\r
275 <anyAttribute namespace="##other" processContents="lax"/>
\r
277 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
278 <element name="htaccess" type="conf:PluggableType"/>
\r
280 <element name="RequestMap">
\r
283 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
288 <choice minOccurs="0">
\r
289 <element ref="conf:htaccess"/>
\r
290 <element ref="conf:AccessControl"/>
\r
291 <element ref="conf:AccessControlProvider"/>
\r
293 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
295 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
296 <attributeGroup ref="conf:ContentSettings"/>
\r
300 <element name="Host">
\r
303 <choice minOccurs="0">
\r
304 <element ref="conf:htaccess"/>
\r
305 <element ref="conf:AccessControl"/>
\r
306 <element ref="conf:AccessControlProvider"/>
\r
308 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
310 <attribute name="scheme">
\r
312 <restriction base="conf:string">
\r
313 <enumeration value="http"/>
\r
314 <enumeration value="https"/>
\r
315 <enumeration value="ftp"/>
\r
316 <enumeration value="ldap"/>
\r
317 <enumeration value="ldaps"/>
\r
321 <attribute name="name" type="conf:string" use="required"/>
\r
322 <attribute name="port" type="unsignedInt"/>
\r
323 <attribute name="applicationId" type="conf:string"/>
\r
324 <attributeGroup ref="conf:ContentSettings"/>
\r
328 <element name="Path">
\r
331 <choice minOccurs="0">
\r
332 <element ref="conf:htaccess"/>
\r
333 <element ref="conf:AccessControl"/>
\r
334 <element ref="conf:AccessControlProvider"/>
\r
336 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
338 <attribute name="name" type="conf:string" use="required"/>
\r
339 <attribute name="applicationId" type="conf:string"/>
\r
340 <attributeGroup ref="conf:ContentSettings"/>
\r
344 <element name="Applications">
\r
346 <documentation>Container for global settings and application-specific overrides</documentation>
\r
350 <element ref="conf:Sessions"/>
\r
351 <element ref="conf:Errors"/>
\r
352 <element ref="conf:DefaultRelyingParty"/>
\r
353 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
354 <element name="MetadataProvider" type="conf:PluggableType"/>
355 <element name="TrustEngine" type="conf:PluggableType"/>
\r
356 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
357 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
358 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
359 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
360 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
362 <attribute name="id" type="conf:string" fixed="default"/>
\r
363 <attribute name="entityID" type="anyURI" use="required"/>
\r
364 <attribute name="policyId" type="conf:string" use="required"/>
\r
365 <attribute name="homeURL" type="anyURI" default="/"/>
\r
366 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
\r
367 <attribute name="unsetHeaders" type="conf:listOfStrings"/>
\r
368 <anyAttribute namespace="##other" processContents="lax"/>
\r
372 <element name="Application">
\r
374 <documentation>Container for application-specific overrides</documentation>
\r
378 <element ref="conf:Sessions" minOccurs="0"/>
\r
379 <element ref="conf:Errors" minOccurs="0"/>
\r
380 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>
\r
381 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
382 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
383 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
384 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
385 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
386 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
387 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
389 <attribute name="id" type="conf:string" use="required"/>
\r
390 <attribute name="entityID" type="anyURI"/>
\r
391 <attribute name="policyId" type="conf:string"/>
\r
392 <attribute name="homeURL" type="anyURI" default="/"/>
\r
393 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
\r
394 <attribute name="unsetHeaders" type="conf:listOfStrings"/>
\r
395 <anyAttribute namespace="##other" processContents="lax"/>
\r
399 <element name="Sessions">
\r
401 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
404 <choice minOccurs="0" maxOccurs="unbounded">
\r
405 <element ref="conf:SessionInitiator"/>
\r
406 <element ref="md:AssertionConsumerService"/>
\r
407 <element ref="md:ArtifactResolutionService"/>
\r
408 <element ref="md:SingleLogoutService"/>
\r
409 <element ref="md:ManageNameIDService"/>
\r
410 <element name="Handler">
413 <restriction base="conf:PluggableType">
\r
415 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
417 <attribute name="Location" type="anyURI" use="required"/>
\r
423 <attribute name="handlerURL" type="anyURI"/>
\r
424 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
425 <attribute name="exportLocation" type="conf:string"/>
\r
426 <attribute name="exportACL" type="conf:listOfStrings" default="127.0.0.1"/>
\r
427 <attribute name="redirectErrors" type="anyURI"/>
\r
428 <attribute name="cookieName" type="conf:string"/>
\r
429 <attribute name="cookieProps" type="conf:string"/>
\r
430 <attribute name="idpHistory" type="boolean" default="true"/>
\r
431 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
432 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
433 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
434 <attribute name="checkAddress" type="boolean" default="true"/>
\r
435 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
436 <anyAttribute namespace="##other" processContents="lax"/>
\r
440 <attribute name="policyId" type="conf:string">
442 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
446 <element name="SessionInitiator">
\r
448 <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
\r
452 <restriction base="conf:PluggableType">
\r
454 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
456 <attribute name="Location" type="anyURI"/>
\r
457 <attribute name="id" type="conf:string"/>
\r
458 <attribute name="isDefault" type="boolean"/>
\r
459 <attribute name="relayState" type="conf:string"/>
\r
460 <attribute name="entityIDParam" type="conf:string"/>
\r
461 <attribute name="entityID" type="anyURI"/>
\r
462 <attribute name="URL" type="anyURI"/>
\r
463 <attribute name="outgoingBindings" type="conf:listOfURIs"/>
\r
464 <attribute name="template" type="anyURI"/>
\r
465 <attribute name="postArtifact" type="boolean"/>
\r
466 <attribute name="acsByIndex" type="boolean"/>
\r
467 <anyAttribute namespace="##any" processContents="lax"/>
\r
473 <element name="Errors">
\r
475 <documentation>Container for error templates and associated details</documentation>
\r
479 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
481 <attribute name="session" type="anyURI" use="required"/>
\r
482 <attribute name="metadata" type="anyURI"/>
\r
483 <attribute name="rm" type="anyURI"/>
\r
484 <attribute name="access" type="anyURI"/>
\r
485 <attribute name="ssl" type="anyURI"/>
\r
486 <attribute name="supportContact" type="conf:string"/>
\r
487 <attribute name="logoLocation" type="anyURI"/>
\r
488 <attribute name="styleSheet" type="anyURI"/>
\r
489 <anyAttribute namespace="##any" processContents="lax"/>
\r
493 <element name="DefaultRelyingParty">
\r
495 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
499 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
502 <attribute name="Name" type="conf:string" use="required"/>
\r
503 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
504 <anyAttribute namespace="##other" processContents="lax"/>
\r
508 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
509 <anyAttribute namespace="##other" processContents="lax"/>
\r
513 <attributeGroup name="RelyingPartyGroup">
\r
514 <attribute name="authType" type="conf:string"/>
\r
515 <attribute name="authUsername" type="conf:string"/>
\r
516 <attribute name="authPassword" type="conf:string"/>
\r
517 <attribute name="signRequests" type="boolean"/>
518 <attribute name="signResponses" type="boolean"/>
\r
519 <attribute name="signatureAlg" type="anyURI"/>
\r
520 <attribute name="digestAlg" type="anyURI"/>
\r
521 <attribute name="encryptRequests" type="boolean"/>
\r
522 <attribute name="encryptResponses" type="boolean"/>
\r
523 <attribute name="encryptionAlg" type="anyURI"/>
\r
524 <attribute name="keyName" type="conf:string"/>
\r
525 <attribute name="artifactEndpointIndex" type="unsignedShort"/>
\r
528 <element name="SecurityPolicies">
530 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
534 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
536 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
540 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
542 <attribute name="id" type="conf:string" use="required"/>
\r
543 <attribute name="validate" type="boolean" default="false"/>
\r
544 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
545 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
546 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
547 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
548 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
549 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
550 <anyAttribute namespace="##any" processContents="lax"/>
\r