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:2.0:native:sp:config"
\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">
\r
25 <restriction base="string">
\r
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>
\r
52 <element ref="conf:Extensions" minOccurs="0"/>
\r
53 <element ref="conf:OutOfProcess"/>
\r
54 <element ref="conf:InProcess"/>
\r
55 <element ref="conf:Applications"/>
\r
56 <element ref="conf:SecurityPolicies"/>
\r
58 <attribute name="logger" type="anyURI"/>
\r
59 <attribute name="clockSkew" type="unsignedInt"/>
\r
60 <anyAttribute namespace="##other" processContents="lax"/>
\r
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 <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
77 <anyAttribute namespace="##any" processContents="lax"/>
\r
80 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
85 <element name="StorageService">
\r
87 <documentation>References StorageService plugins</documentation>
\r
91 <restriction base="conf:PluggableType">
\r
93 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
95 <attribute name="id" type="ID" use="required"/>
\r
96 <attribute name="cleanupInterval" type="unsignedInt" default="900"/>
\r
97 <anyAttribute namespace="##any" processContents="lax"/>
\r
103 <element name="SessionCache">
\r
105 <documentation>References SessionCache plugins</documentation>
\r
109 <restriction base="conf:PluggableType">
\r
111 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
113 <attribute name="StorageService" type="IDREF"/>
\r
114 <attribute name="cacheTimeout" type="unsignedInt" default="28800"/>
\r
115 <anyAttribute namespace="##any" processContents="lax"/>
\r
121 <element name="ReplayCache">
\r
123 <documentation>Ties ReplayCache to a custom StorageService</documentation>
\r
127 <attribute name="StorageService" type="IDREF" use="required"/>
\r
131 <element name="ArtifactMap">
\r
133 <documentation>Customizes an ArtifactMap</documentation>
\r
137 <attribute name="StorageService" type="IDREF"/>
\r
138 <attribute name="context" type="conf:string"/>
\r
139 <attribute name="artifactTTL" type="unsignedInt" default="180"/>
\r
143 <element name="OutOfProcess">
\r
145 <documentation>Container for shibd out-of-process configuration</documentation>
\r
149 <element ref="conf:Extensions" minOccurs="0"/>
\r
151 <element name="UnixListener">
\r
153 <attribute name="address" type="conf:string" use="required"/>
\r
156 <element name="TCPListener">
\r
158 <attribute name="address" type="conf:string" use="required"/>
\r
159 <attribute name="port" type="unsignedInt" use="required"/>
\r
160 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
\r
163 <element name="Listener" type="conf:PluggableType"/>
\r
165 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
\r
166 <element ref="conf:SessionCache" minOccurs="0"/>
\r
167 <element ref="conf:ReplayCache" minOccurs="0"/>
\r
168 <element ref="conf:ArtifactMap" minOccurs="0"/>
\r
169 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
171 <attribute name="logger" type="anyURI"/>
\r
172 <anyAttribute namespace="##other" processContents="lax"/>
\r
176 <element name="InProcess">
\r
179 Container for configuration of locally integrated or platform-specific
\r
180 features (e.g. web server filters)
\r
185 <element ref="conf:Extensions" minOccurs="0"/>
\r
186 <element ref="conf:SessionCache" minOccurs="0"/>
\r
187 <element name="RequestMapper" type="conf:PluggableType"/>
\r
188 <element name="Implementation" minOccurs="0">
\r
191 <element ref="conf:ISAPI" minOccurs="0"/>
\r
192 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
196 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
198 <attribute name="logger" type="anyURI"/>
\r
199 <attribute name="unsetHeaderValue" type="string"/>
\r
200 <attribute name="checkSpoofing" type="boolean"/>
\r
201 <anyAttribute namespace="##other" processContents="lax"/>
\r
205 <element name="ISAPI">
\r
208 <element name="Site" maxOccurs="unbounded">
\r
211 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
213 <attribute name="id" type="unsignedInt" use="required"/>
\r
214 <attribute name="name" type="conf:string" use="required"/>
\r
215 <attribute name="port" type="unsignedInt"/>
\r
216 <attribute name="sslport" type="unsignedInt"/>
\r
217 <attribute name="scheme" type="conf:string"/>
\r
220 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
222 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
223 <anyAttribute namespace="##other" processContents="lax"/>
\r
227 <element name="AccessControl" type="conf:UniOperatorType">
\r
230 A simple example access policy language extension that supersedes Apache .htaccess
\r
234 <element name="OR" type="conf:MultiOperatorType"/>
\r
235 <element name="AND" type="conf:MultiOperatorType"/>
\r
236 <element name="NOT" type="conf:UniOperatorType"/>
\r
237 <complexType name="UniOperatorType">
\r
239 <element ref="conf:AND"/>
\r
240 <element ref="conf:OR"/>
\r
241 <element ref="conf:NOT"/>
\r
242 <element ref="conf:Rule"/>
\r
245 <complexType name="MultiOperatorType">
\r
246 <choice minOccurs="2" maxOccurs="unbounded">
\r
247 <element ref="conf:AND"/>
\r
248 <element ref="conf:OR"/>
\r
249 <element ref="conf:NOT"/>
\r
250 <element ref="conf:Rule"/>
\r
253 <element name="Rule">
\r
256 <extension base="conf:listOfStrings">
\r
257 <attribute name="require" type="conf:string" use="required"/>
\r
263 <attributeGroup name="ContentSettings">
\r
264 <attribute name="authType" type="conf:string"/>
\r
265 <attribute name="requireSession" type="boolean"/>
\r
266 <attribute name="requireSessionWith" type="conf:string"/>
\r
267 <attribute name="exportAssertion" type="boolean"/>
\r
268 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
269 <attribute name="isPassive" type="boolean"/>
\r
270 <attribute name="forceAuthn" type="boolean"/>
\r
271 <attribute name="authnContextClassRef" type="anyURI"/>
\r
272 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
\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"/>
\r
352 <element name="MetadataProvider" type="conf:PluggableType"/>
\r
353 <element name="TrustEngine" type="conf:PluggableType"/>
\r
354 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
355 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
356 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
357 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
358 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
360 <attribute name="id" type="conf:string" fixed="default"/>
\r
361 <attribute name="entityID" type="anyURI" use="required"/>
\r
362 <attribute name="policyId" type="conf:string" use="required"/>
\r
363 <attribute name="homeURL" type="anyURI" default="/"/>
\r
364 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
\r
365 <attribute name="unsetHeaders" type="conf:listOfStrings"/>
\r
366 <anyAttribute namespace="##other" processContents="lax"/>
\r
370 <element name="Application">
\r
372 <documentation>Container for application-specific overrides</documentation>
\r
376 <element ref="conf:Sessions" minOccurs="0"/>
\r
377 <element ref="conf:Errors" minOccurs="0"/>
\r
378 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>
\r
379 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
380 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
381 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
382 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
383 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
384 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
385 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
387 <attribute name="id" type="conf:string" use="required"/>
\r
388 <attribute name="entityID" type="anyURI"/>
\r
389 <attribute name="policyId" type="conf:string"/>
\r
390 <attribute name="homeURL" type="anyURI" default="/"/>
\r
391 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
\r
392 <attribute name="unsetHeaders" type="conf:listOfStrings"/>
\r
393 <anyAttribute namespace="##other" processContents="lax"/>
\r
397 <element name="Sessions">
\r
399 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
402 <choice minOccurs="0" maxOccurs="unbounded">
\r
403 <element ref="conf:SessionInitiator"/>
\r
404 <element ref="md:AssertionConsumerService"/>
\r
405 <element ref="md:ArtifactResolutionService"/>
\r
406 <element ref="md:SingleLogoutService"/>
\r
407 <element ref="md:ManageNameIDService"/>
\r
408 <element name="Handler">
\r
411 <restriction base="conf:PluggableType">
\r
413 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
415 <attribute name="Location" type="anyURI" use="required"/>
\r
421 <attribute name="handlerURL" type="anyURI"/>
\r
422 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
423 <attribute name="exportLocation" type="conf:string"/>
\r
424 <attribute name="exportACL" type="conf:listOfStrings" default="127.0.0.1"/>
\r
425 <attribute name="redirectErrors" type="anyURI"/>
\r
426 <attribute name="cookieName" type="conf:string"/>
\r
427 <attribute name="cookieProps" type="conf:string"/>
\r
428 <attribute name="idpHistory" type="boolean" default="true"/>
\r
429 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
430 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
431 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
432 <attribute name="checkAddress" type="boolean" default="true"/>
\r
433 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
434 <anyAttribute namespace="##other" processContents="lax"/>
\r
438 <attribute name="policyId" type="conf:string">
\r
440 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
\r
444 <element name="SessionInitiator">
\r
446 <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
\r
450 <restriction base="conf:PluggableType">
\r
452 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
454 <attribute name="Location" type="anyURI"/>
\r
455 <attribute name="id" type="conf:string"/>
\r
456 <attribute name="isDefault" type="boolean"/>
\r
457 <attribute name="relayState" type="conf:string"/>
\r
458 <attribute name="entityIDParam" type="conf:string"/>
\r
459 <attribute name="entityID" type="anyURI"/>
\r
460 <attribute name="URL" type="anyURI"/>
\r
461 <attribute name="outgoingBindings" type="conf:listOfURIs"/>
\r
462 <attribute name="template" type="anyURI"/>
\r
463 <attribute name="postArtifact" type="boolean"/>
\r
464 <attribute name="acsByIndex" type="boolean"/>
\r
465 <attribute name="defaultACSIndex" type="unsignedShort"/>
\r
466 <anyAttribute namespace="##any" processContents="lax"/>
\r
472 <element name="Errors">
\r
474 <documentation>Container for error templates and associated details</documentation>
\r
478 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
480 <attribute name="session" type="anyURI" use="required"/>
\r
481 <attribute name="metadata" type="anyURI"/>
\r
482 <attribute name="rm" type="anyURI"/>
\r
483 <attribute name="access" type="anyURI"/>
\r
484 <attribute name="ssl" type="anyURI"/>
\r
485 <attribute name="supportContact" type="conf:string"/>
\r
486 <attribute name="logoLocation" type="anyURI"/>
\r
487 <attribute name="styleSheet" type="anyURI"/>
\r
488 <anyAttribute namespace="##any" processContents="lax"/>
\r
492 <element name="DefaultRelyingParty">
\r
494 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
498 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
501 <attribute name="Name" type="conf:string" use="required"/>
\r
502 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
503 <anyAttribute namespace="##other" processContents="lax"/>
\r
507 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
508 <anyAttribute namespace="##other" processContents="lax"/>
\r
512 <attributeGroup name="RelyingPartyGroup">
\r
513 <attribute name="authType" type="conf:string"/>
\r
514 <attribute name="authUsername" type="conf:string"/>
\r
515 <attribute name="authPassword" type="conf:string"/>
\r
516 <attribute name="signRequests" type="boolean"/>
\r
517 <attribute name="signResponses" type="boolean"/>
\r
518 <attribute name="signatureAlg" type="anyURI"/>
\r
519 <attribute name="digestAlg" type="anyURI"/>
\r
520 <attribute name="encryptRequests" type="boolean"/>
\r
521 <attribute name="encryptResponses" type="boolean"/>
\r
522 <attribute name="encryptionAlg" type="anyURI"/>
\r
523 <attribute name="keyName" type="conf:string"/>
\r
524 <attribute name="artifactEndpointIndex" type="unsignedShort"/>
\r
527 <element name="SecurityPolicies">
\r
529 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
533 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
535 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
539 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
\r
541 <attribute name="id" type="conf:string" use="required"/>
\r
542 <attribute name="validate" type="boolean" default="false"/>
\r
543 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
544 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
545 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
546 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
547 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
548 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
549 <anyAttribute namespace="##any" processContents="lax"/>
\r