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 <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">
\r
126 <documentation>Ties ReplayCache to a custom StorageService</documentation>
\r
130 <attribute name="StorageService" type="IDREF" use="required"/>
\r
134 <element name="ArtifactMap">
\r
136 <documentation>Customizes an ArtifactMap</documentation>
\r
140 <attribute name="StorageService" type="IDREF"/>
\r
141 <attribute name="context" type="conf:string"/>
\r
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"/>
\r
154 <element name="UnixListener">
\r
156 <attribute name="address" type="conf:string" use="required"/>
\r
159 <element name="TCPListener">
\r
161 <attribute name="address" type="conf:string" use="required"/>
\r
162 <attribute name="port" type="unsignedInt" use="required"/>
\r
163 <attribute name="acl" type="conf:listOfStrings" default="127.0.0.1"/>
\r
166 <element name="Listener" type="conf:PluggableType"/>
\r
168 <element ref="conf:StorageService" minOccurs="0" maxOccurs="unbounded"/>
\r
169 <element ref="conf:SessionCache" minOccurs="0"/>
\r
170 <element ref="conf:ReplayCache" minOccurs="0"/>
\r
171 <element ref="conf:ArtifactMap" minOccurs="0"/>
\r
172 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
174 <attribute name="logger" type="anyURI"/>
\r
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"/>
\r
189 <element ref="conf:SessionCache" minOccurs="0"/>
\r
190 <element name="RequestMapper" type="conf:PluggableType"/>
\r
191 <element name="Implementation" minOccurs="0">
\r
194 <element ref="conf:ISAPI" minOccurs="0"/>
\r
195 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
199 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
201 <attribute name="logger" type="anyURI"/>
\r
202 <attribute name="unsetHeaderValue" type="string"/>
\r
203 <attribute name="checkSpoofing" type="boolean"/>
\r
204 <anyAttribute namespace="##other" processContents="lax"/>
\r
208 <element name="ISAPI">
\r
211 <element name="Site" maxOccurs="unbounded">
\r
214 <element name="Alias" type="string" minOccurs="0" maxOccurs="unbounded"/>
\r
216 <attribute name="id" type="unsignedInt" use="required"/>
\r
217 <attribute name="name" type="conf:string" use="required"/>
\r
218 <attribute name="port" type="unsignedInt"/>
\r
219 <attribute name="sslport" type="unsignedInt"/>
\r
220 <attribute name="scheme" type="conf:string"/>
\r
223 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
225 <attribute name="normalizeRequest" type="boolean" default="true"/>
\r
226 <anyAttribute namespace="##other" processContents="lax"/>
\r
230 <element name="AccessControl" type="conf:UniOperatorType">
\r
233 A simple example access policy language extension that supersedes Apache .htaccess
\r
237 <element name="OR" type="conf:MultiOperatorType"/>
\r
238 <element name="AND" type="conf:MultiOperatorType"/>
\r
239 <element name="NOT" type="conf:UniOperatorType"/>
\r
240 <complexType name="UniOperatorType">
\r
242 <element ref="conf:AND"/>
\r
243 <element ref="conf:OR"/>
\r
244 <element ref="conf:NOT"/>
\r
245 <element ref="conf:Rule"/>
\r
248 <complexType name="MultiOperatorType">
\r
249 <choice minOccurs="2" maxOccurs="unbounded">
\r
250 <element ref="conf:AND"/>
\r
251 <element ref="conf:OR"/>
\r
252 <element ref="conf:NOT"/>
\r
253 <element ref="conf:Rule"/>
\r
256 <element name="Rule">
\r
259 <extension base="conf:listOfStrings">
\r
260 <attribute name="require" type="conf:string" use="required"/>
\r
266 <attributeGroup name="ContentSettings">
\r
267 <attribute name="authType" type="conf:string"/>
\r
268 <attribute name="requireSession" type="boolean"/>
\r
269 <attribute name="requireSessionWith" type="conf:string"/>
\r
270 <attribute name="exportAssertion" type="boolean"/>
\r
271 <attribute name="redirectToSSL" type="unsignedInt"/>
\r
272 <attribute name="isPassive" type="boolean"/>
\r
273 <attribute name="forceAuthn" type="boolean"/>
\r
274 <attribute name="authnContextClassRef" type="anyURI"/>
\r
275 <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
\r
276 <anyAttribute namespace="##other" processContents="lax"/>
\r
278 <element name="AccessControlProvider" type="conf:PluggableType"/>
\r
279 <element name="htaccess" type="conf:PluggableType"/>
\r
281 <element name="RequestMap">
\r
284 Built-in request mapping syntax, decomposes URLs into Host/Path/Path/...
\r
289 <choice minOccurs="0">
\r
290 <element ref="conf:htaccess"/>
\r
291 <element ref="conf:AccessControl"/>
\r
292 <element ref="conf:AccessControlProvider"/>
\r
294 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
\r
296 <attribute name="applicationId" type="conf:string" fixed="default"/>
\r
297 <attributeGroup ref="conf:ContentSettings"/>
\r
301 <element name="Host">
\r
304 <choice minOccurs="0">
\r
305 <element ref="conf:htaccess"/>
\r
306 <element ref="conf:AccessControl"/>
\r
307 <element ref="conf:AccessControlProvider"/>
\r
309 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
311 <attribute name="scheme">
\r
313 <restriction base="conf:string">
\r
314 <enumeration value="http"/>
\r
315 <enumeration value="https"/>
\r
316 <enumeration value="ftp"/>
\r
317 <enumeration value="ldap"/>
\r
318 <enumeration value="ldaps"/>
\r
322 <attribute name="name" type="conf:string" use="required"/>
\r
323 <attribute name="port" type="unsignedInt"/>
\r
324 <attribute name="applicationId" type="conf:string"/>
\r
325 <attributeGroup ref="conf:ContentSettings"/>
\r
329 <element name="Path">
\r
332 <choice minOccurs="0">
\r
333 <element ref="conf:htaccess"/>
\r
334 <element ref="conf:AccessControl"/>
\r
335 <element ref="conf:AccessControlProvider"/>
\r
337 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
\r
339 <attribute name="name" type="conf:string" use="required"/>
\r
340 <attribute name="applicationId" type="conf:string"/>
\r
341 <attributeGroup ref="conf:ContentSettings"/>
\r
345 <element name="Applications">
\r
347 <documentation>Container for global settings and application-specific overrides</documentation>
\r
351 <element ref="conf:Sessions"/>
\r
352 <element ref="conf:Errors"/>
\r
353 <element ref="conf:DefaultRelyingParty"/>
\r
354 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
355 <element name="MetadataProvider" type="conf:PluggableType"/>
\r
356 <element name="TrustEngine" type="conf:PluggableType"/>
\r
357 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
358 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
359 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
360 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
361 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
\r
363 <attribute name="id" type="conf:string" fixed="default"/>
\r
364 <attribute name="entityID" type="anyURI" use="required"/>
\r
365 <attribute name="policyId" type="conf:string" use="required"/>
\r
366 <attribute name="homeURL" type="anyURI" default="/"/>
\r
367 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
\r
368 <attribute name="unsetHeaders" type="conf:listOfStrings"/>
\r
369 <anyAttribute namespace="##other" processContents="lax"/>
\r
373 <element name="Application">
\r
375 <documentation>Container for application-specific overrides</documentation>
\r
379 <element ref="conf:Sessions" minOccurs="0"/>
\r
380 <element ref="conf:Errors" minOccurs="0"/>
\r
381 <element ref="conf:DefaultRelyingParty" minOccurs="0"/>
\r
382 <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
\r
383 <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
\r
384 <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
\r
385 <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
\r
386 <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
\r
387 <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
\r
388 <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
\r
390 <attribute name="id" type="conf:string" use="required"/>
\r
391 <attribute name="entityID" type="anyURI"/>
\r
392 <attribute name="policyId" type="conf:string"/>
\r
393 <attribute name="homeURL" type="anyURI" default="/"/>
\r
394 <attribute name="REMOTE_USER" type="conf:listOfStrings"/>
\r
395 <attribute name="unsetHeaders" type="conf:listOfStrings"/>
\r
396 <anyAttribute namespace="##other" processContents="lax"/>
\r
400 <element name="Sessions">
\r
402 <documentation>Container for specifying protocol handlers and session policy</documentation>
\r
405 <choice minOccurs="0" maxOccurs="unbounded">
\r
406 <element ref="conf:SessionInitiator"/>
\r
407 <element ref="md:AssertionConsumerService"/>
\r
408 <element ref="md:ArtifactResolutionService"/>
\r
409 <element ref="md:SingleLogoutService"/>
\r
410 <element ref="md:ManageNameIDService"/>
\r
411 <element name="Handler">
\r
414 <restriction base="conf:PluggableType">
\r
416 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
418 <attribute name="Location" type="anyURI" use="required"/>
\r
424 <attribute name="handlerURL" type="anyURI"/>
\r
425 <attribute name="handlerSSL" type="boolean" default="true"/>
\r
426 <attribute name="exportLocation" type="conf:string"/>
\r
427 <attribute name="exportACL" type="conf:listOfStrings" default="127.0.0.1"/>
\r
428 <attribute name="redirectErrors" type="anyURI"/>
\r
429 <attribute name="cookieName" type="conf:string"/>
\r
430 <attribute name="cookieProps" type="conf:string"/>
\r
431 <attribute name="idpHistory" type="boolean" default="true"/>
\r
432 <attribute name="idpHistoryDays" type="unsignedInt"/>
\r
433 <attribute name="lifetime" type="unsignedInt" default="28800"/>
\r
434 <attribute name="timeout" type="unsignedInt" default="3600"/>
\r
435 <attribute name="checkAddress" type="boolean" default="true"/>
\r
436 <attribute name="consistentAddress" type="boolean" default="true"/>
\r
437 <anyAttribute namespace="##other" processContents="lax"/>
\r
441 <attribute name="policyId" type="conf:string">
\r
443 <documentation>Used to reference Policy elements from profile endpoints.</documentation>
\r
447 <element name="SessionInitiator">
\r
449 <documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
\r
453 <restriction base="conf:PluggableType">
\r
455 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
457 <attribute name="Location" type="anyURI"/>
\r
458 <attribute name="id" type="conf:string"/>
\r
459 <attribute name="isDefault" type="boolean"/>
\r
460 <attribute name="relayState" type="conf:string"/>
\r
461 <attribute name="entityIDParam" type="conf:string"/>
\r
462 <attribute name="entityID" type="anyURI"/>
\r
463 <attribute name="URL" type="anyURI"/>
\r
464 <attribute name="outgoingBindings" type="conf:listOfURIs"/>
\r
465 <attribute name="template" type="anyURI"/>
\r
466 <attribute name="postArtifact" type="boolean"/>
\r
467 <attribute name="acsByIndex" type="boolean"/>
\r
468 <attribute name="defaultACSIndex" type="unsignedShort"/>
\r
469 <anyAttribute namespace="##any" processContents="lax"/>
\r
475 <element name="Errors">
\r
477 <documentation>Container for error templates and associated details</documentation>
\r
481 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
\r
483 <attribute name="session" type="anyURI" use="required"/>
\r
484 <attribute name="metadata" type="anyURI"/>
\r
485 <attribute name="rm" type="anyURI"/>
\r
486 <attribute name="access" type="anyURI"/>
\r
487 <attribute name="ssl" type="anyURI"/>
\r
488 <attribute name="supportContact" type="conf:string"/>
\r
489 <attribute name="logoLocation" type="anyURI"/>
\r
490 <attribute name="styleSheet" type="anyURI"/>
\r
491 <anyAttribute namespace="##any" processContents="lax"/>
\r
495 <element name="DefaultRelyingParty">
\r
497 <documentation>Container for specifying security methods to use with particular peers</documentation>
\r
501 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
\r
504 <attribute name="Name" type="conf:string" use="required"/>
\r
505 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
506 <anyAttribute namespace="##other" processContents="lax"/>
\r
510 <attributeGroup ref="conf:RelyingPartyGroup"/>
\r
511 <anyAttribute namespace="##other" processContents="lax"/>
\r
515 <attributeGroup name="RelyingPartyGroup">
\r
516 <attribute name="authType" type="conf:string"/>
\r
517 <attribute name="authUsername" type="conf:string"/>
\r
518 <attribute name="authPassword" type="conf:string"/>
\r
519 <attribute name="signRequests" type="boolean"/>
\r
520 <attribute name="signResponses" type="boolean"/>
\r
521 <attribute name="signatureAlg" type="anyURI"/>
\r
522 <attribute name="digestAlg" type="anyURI"/>
\r
523 <attribute name="encryptRequests" type="boolean"/>
\r
524 <attribute name="encryptResponses" type="boolean"/>
\r
525 <attribute name="encryptionAlg" type="anyURI"/>
\r
526 <attribute name="keyName" type="conf:string"/>
\r
527 <attribute name="artifactEndpointIndex" type="unsignedShort"/>
\r
530 <element name="SecurityPolicies">
\r
532 <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
\r
536 <element name="Policy" minOccurs="1" maxOccurs="unbounded">
\r
538 <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
\r
542 <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
\r
544 <attribute name="id" type="conf:string" use="required"/>
\r
545 <attribute name="validate" type="boolean" default="false"/>
\r
546 <attribute name="signedAssertions" type="boolean" default="false"/>
\r
547 <attribute name="requireConfidentiality" type="boolean" default="true"/>
\r
548 <attribute name="requireTransportAuth" type="boolean" default="true"/>
\r
549 <attribute name="chunkedEncoding" type="boolean" default="true"/>
\r
550 <attribute name="connectTimeout" type="unsignedShort" default="15"/>
\r
551 <attribute name="timeout" type="unsignedShort" default="30"/>
\r
552 <anyAttribute namespace="##any" processContents="lax"/>
\r