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 <anyAttribute namespace="##other" processContents="lax"/>
\r
206 <element name="ISAPI">
\r
209 <element name="Site" maxOccurs="unbounded">
\r
212 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
214 <attribute name="id" type="unsignedInt" use="required"/>
\r
215 <attribute name="name" type="conf:string" use="required"/>
\r
216 <attribute name="port" type="unsignedInt"/>
\r
217 <attribute name="sslport" type="unsignedInt"/>
\r
218 <attribute name="scheme" type="conf:string"/>
\r
221 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
223 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
224 <anyAttribute namespace="##other" processContents="lax"/>
\r
228 <element name="AccessControl" type="conf:UniOperatorType">
\r
231 A simple example access policy language extension that supersedes Apache .htaccess
\r
235 <element name="OR" type="conf:MultiOperatorType"/>
\r
236 <element name="AND" type="conf:MultiOperatorType"/>
\r
237 <element name="NOT" type="conf:UniOperatorType"/>
\r
238 <complexType name="UniOperatorType">
\r
240 <element ref="conf:AND"/>
\r
241 <element ref="conf:OR"/>
\r
242 <element ref="conf:NOT"/>
\r
243 <element ref="conf:Rule"/>
\r
246 <complexType name="MultiOperatorType">
\r
247 <choice minOccurs="2" maxOccurs="unbounded">
\r
248 <element ref="conf:AND"/>
\r
249 <element ref="conf:OR"/>
\r
250 <element ref="conf:NOT"/>
\r
251 <element ref="conf:Rule"/>
\r
254 <element name="Rule">
\r
257 <extension base="conf:listOfStrings">
\r
258 <attribute name="require" type="conf:string" use="required"/>
\r
264 <attributeGroup name="ContentSettings">
\r
265 <attribute name="authType" type="conf:string"/>
\r
266 <attribute name="requireSession" type="boolean"/>
\r
267 <attribute name="requireSessionWith" type="conf:string"/>
\r
268 <attribute name="exportAssertion" type="boolean"/>
\r
269 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
270 <attribute name="isPassive" type="boolean"/>
\r
271 <attribute name="forceAuthn" type="boolean"/>
\r
272 <attribute name="authnContextClassRef" type="anyURI"/>
\r
273 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
\r
274 <anyAttribute namespace="##other" processContents="lax"/>
\r
276 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
277 <element name="htaccess" type="conf:PluggableType"/>
\r
279 <element name="RequestMap">
\r
282 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
287 <choice minOccurs="0">
\r
288 <element ref="conf:htaccess"/>
\r
289 <element ref="conf:AccessControl"/>
\r
290 <element ref="conf:AccessControlProvider"/>
\r
292 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
294 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
295 <attributeGroup ref="conf:ContentSettings"/>
\r
299 <element name="Host">
\r
302 <choice minOccurs="0">
\r
303 <element ref="conf:htaccess"/>
\r
304 <element ref="conf:AccessControl"/>
\r
305 <element ref="conf:AccessControlProvider"/>
\r
307 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
309 <attribute name="scheme">
\r
311 <restriction base="conf:string">
\r
312 <enumeration value="http"/>
\r
313 <enumeration value="https"/>
\r
314 <enumeration value="ftp"/>
\r
315 <enumeration value="ldap"/>
\r
316 <enumeration value="ldaps"/>
\r
320 <attribute name="name" type="conf:string" use="required"/>
\r
321 <attribute name="port" type="unsignedInt"/>
\r
322 <attribute name="applicationId" type="conf:string"/>
\r
323 <attributeGroup ref="conf:ContentSettings"/>
\r
327 <element name="Path">
\r
330 <choice minOccurs="0">
\r
331 <element ref="conf:htaccess"/>
\r
332 <element ref="conf:AccessControl"/>
\r
333 <element ref="conf:AccessControlProvider"/>
\r
335 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
337 <attribute name="name" type="conf:string" use="required"/>
\r
338 <attribute name="applicationId" type="conf:string"/>
\r
339 <attributeGroup ref="conf:ContentSettings"/>
\r
343 <element name="Applications">
\r
345 <documentation>Container for global settings and application-specific overrides</documentation>
\r
349 <element ref="conf:Sessions"/>
\r
350 <element ref="conf:Errors"/>
\r
351 <element ref="conf:DefaultRelyingParty"/>
\r
352 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
353 <element name="MetadataProvider" type="conf:PluggableType"/>
354 <element name="TrustEngine" type="conf:PluggableType"/>
\r
355 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
356 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
357 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
358 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
359 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
361 <attribute name="id" type="conf:string" fixed="default"/>
\r
362 <attribute name="entityID" type="anyURI" use="required"/>
\r
363 <attribute name="policyId" type="conf:string" use="required"/>
\r
364 <attribute name="homeURL" type="anyURI" default="/"/>
\r
365 <anyAttribute namespace="##other" processContents="lax"/>
\r
369 <element name="Application">
\r
371 <documentation>Container for application-specific overrides</documentation>
\r
375 <element ref="conf:Sessions" minOccurs="0"/>
\r
376 <element ref="conf:Errors" minOccurs="0"/>
\r
377 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>
\r
378 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
379 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
380 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
381 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
382 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
383 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
384 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
386 <attribute name="id" type="conf:string" use="required"/>
\r
387 <attribute name="entityID" type="anyURI"/>
\r
388 <attribute name="policyId" type="conf:string"/>
\r
389 <attribute name="homeURL" type="anyURI" default="/"/>
\r
390 <anyAttribute namespace="##other" processContents="lax"/>
\r
394 <element name="Sessions">
\r
396 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
399 <choice maxOccurs="unbounded">
\r
400 <element ref="conf:SessionInitiator"/>
\r
401 <element ref="md:AssertionConsumerService"/>
\r
402 <element ref="md:SingleLogoutService"/>
\r
403 <element ref="md:ManageNameIDService"/>
\r
404 <element name="Handler">
407 <restriction base="conf:PluggableType">
\r
409 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
411 <attribute name="Location" type="anyURI" use="required"/>
\r
417 <attribute name="handlerURL" type="anyURI"/>
\r
418 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
419 <attribute name="redirectErrors" type="anyURI"/>
\r
420 <attribute name="cookieName" type="conf:string"/>
\r
421 <attribute name="cookieProps" type="conf:string"/>
\r
422 <attribute name="idpHistory" type="boolean" default="true"/>
\r
423 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
424 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
425 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
426 <attribute name="checkAddress" type="boolean" default="true"/>
\r
427 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
428 <anyAttribute namespace="##other" processContents="lax"/>
\r
432 <attribute name="policyId" type="conf:string">
434 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
438 <element name="SessionInitiator">
\r
440 <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
\r
444 <restriction base="conf:PluggableType">
\r
446 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
448 <attribute name="Location" type="anyURI"/>
\r
449 <attribute name="id" type="conf:string"/>
\r
450 <attribute name="isDefault" type="boolean"/>
\r
451 <attribute name="relayState" type="conf:string"/>
\r
452 <attribute name="entityIDParam" type="conf:string"/>
\r
453 <attribute name="entityID" type="anyURI"/>
\r
454 <attribute name="URL" type="anyURI"/>
\r
455 <attribute name="outgoingBindings" type="conf:listOfURIs"/>
\r
456 <attribute name="template" type="anyURI"/>
\r
457 <attribute name="acsByIndex" type="boolean"/>
\r
458 <anyAttribute namespace="##any" processContents="lax"/>
\r
464 <element name="Errors">
\r
466 <documentation>Container for error templates and associated details</documentation>
\r
470 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
472 <attribute name="session" type="anyURI" use="required"/>
\r
473 <attribute name="metadata" type="anyURI"/>
\r
474 <attribute name="rm" type="anyURI"/>
\r
475 <attribute name="access" type="anyURI"/>
\r
476 <attribute name="ssl" type="anyURI"/>
\r
477 <attribute name="supportContact" type="conf:string"/>
\r
478 <attribute name="logoLocation" type="anyURI"/>
\r
479 <attribute name="styleSheet" type="anyURI"/>
\r
480 <anyAttribute namespace="##any" processContents="lax"/>
\r
484 <element name="DefaultRelyingParty">
\r
486 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
490 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
493 <attribute name="Name" type="conf:string" use="required"/>
\r
494 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
495 <anyAttribute namespace="##other" processContents="lax"/>
\r
499 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
500 <anyAttribute namespace="##other" processContents="lax"/>
\r
504 <attributeGroup name="RelyingPartyGroup">
\r
505 <attribute name="authType" type="conf:string" default="TLS"/>
\r
506 <attribute name="authUsername" type="conf:string"/>
\r
507 <attribute name="authPassword" type="conf:string"/>
\r
508 <attribute name="signRequests" type="boolean" default="false"/>
509 <attribute name="signatureAlg" type="anyURI"/>
\r
510 <attribute name="digestAlg" type="anyURI"/>
\r
511 <attribute name="encryptRequests" type="boolean" default="true"/>
\r
512 <attribute name="encryptionAlg" type="anyURI"/>
\r
515 <element name="SecurityPolicies">
517 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
521 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
523 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
527 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
529 <attribute name="id" type="conf:string" use="required"/>
\r
530 <attribute name="validate" type="boolean" default="false"/>
\r
531 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
532 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
533 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
534 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
535 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
536 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
537 <anyAttribute namespace="##any" processContents="lax"/>
\r