1 <?xml version="1.0" encoding="US-ASCII"?>
2 <schema targetNamespace="urn:mace:shibboleth:target:config:1.0"
3 xmlns="http://www.w3.org/2001/XMLSchema"
4 xmlns:conf="urn:mace:shibboleth:target:config:1.0"
5 xmlns:cred="urn:mace:shibboleth:credentials:1.0"
6 xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
7 elementFormDefault="qualified"
8 attributeFormDefault="unqualified"
9 blockDefault="substitution"
12 <import namespace="urn:mace:shibboleth:credentials:1.0" schemaLocation="credentials.xsd"/>
13 <import namespace="urn:oasis:names:tc:SAML:1.0:assertion" schemaLocation="cs-sstc-schema-assertion-1.1.xsd"/>
17 1.0 schema for XML-based configuration of Shibboleth target libraries and modules.
18 First appearing in Shibboleth 1.3 release.
22 <element name="ShibbolethTargetConfig">
24 <documentation>Outer element of configuration file</documentation>
28 <element ref="conf:Extensions" minOccurs="0"/>
29 <element ref="cred:Credentials" minOccurs="0"/>
30 <element ref="conf:SHAR" minOccurs="0"/>
31 <element ref="conf:SHIRE" minOccurs="0"/>
32 <element ref="conf:Applications"/>
34 <attribute name="schemadir" type="anyURI" use="required"/>
35 <attribute name="logger" type="anyURI" use="optional"/>
36 <anyAttribute namespace="##any" processContents="lax"/>
40 <element name="Extensions">
42 <documentation>Container for extension libraries and custom configuration</documentation>
46 <element name="Library" minOccurs="0" maxOccurs="unbounded">
49 <extension base="anyType">
50 <attribute name="path" type="anyURI" use="required"/>
51 <attribute name="fatal" type="boolean" use="optional"/>
56 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
61 <complexType name="PluggableType">
63 <extension base="anyType">
64 <attribute name="type" type="string" use="required"/>
71 <documentation>Container for SHAR configuration</documentation>
75 <element name="Listener" type="conf:PluggableType" minOccurs="0"/>
76 <element name="SessionCache" minOccurs="0">
79 <extension base="conf:PluggableType">
80 <attribute name="cleanupInterval" type="unsignedInt" use="optional"/>
81 <attribute name="timeout" type="unsignedInt" use="optional"/>
86 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
88 <attribute name="logger" type="anyURI" use="optional"/>
89 <attribute name="AATimeout" type="unsignedInt" use="optional"/>
90 <attribute name="AAConnectTimeout" type="unsignedInt" use="optional"/>
91 <attribute name="defaultLifetime" type="unsignedInt" use="optional"/>
92 <anyAttribute namespace="##any" processContents="lax"/>
96 <element name="SHIRE">
99 Container for configuration glue between target library and the surrounding application environment.
104 <element ref="conf:ApplicationMap" minOccurs="0"/>
105 <element name="ImplementationSpecific" minOccurs="0">
107 <choice maxOccurs="unbounded">
108 <element ref="conf:ISAPI"/>
109 <element ref="conf:NSAPI"/>
110 <element ref="conf:Apache"/>
111 <element ref="conf:Java"/>
112 <any namespace="##other" processContents="lax"/>
116 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
118 <attribute name="logger" type="anyURI" use="optional"/>
119 <anyAttribute namespace="##any" processContents="lax"/>
123 <element name="ISAPI">
126 <element name="Site" maxOccurs="unbounded">
129 <extension base="string">
130 <attribute name="InstanceID" type="unsignedInt" use="required"/>
131 <anyAttribute namespace="##any" processContents="lax"/>
136 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
138 <anyAttribute namespace="##any" processContents="lax"/>
141 <element name="Apache">
144 <extension base="anyType">
145 <attribute name="apacheConfig" type="boolean" use="optional"/>
150 <element name="NSAPI" type="anyType"/>
151 <element name="Java" type="anyType"/>
153 <group name="ContentSettings">
156 Group of settings that can be applied to elements in the ApplicationMap, supersedes httpd.conf/htaccess
160 <element name="requireSession" type="boolean" minOccurs="0"/>
161 <element name="exportAssertion" type="boolean" minOccurs="0"/>
162 <choice minOccurs="0">
163 <element name="htaccess">
166 <element name="OR" type="conf:OperatorType"/>
167 <element name="AND" type="conf:OperatorType"/>
171 <restriction base="conf:OperatorType">
173 <element ref="conf:Rule"/>
179 <element ref="conf:Rule"/>
181 <anyAttribute namespace="##any" processContents="lax"/>
184 <element name="accessPolicy" type="conf:PluggableType"/>
186 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
190 <element name="Rule">
193 <extension base="string">
194 <attribute name="requires" type="string" use="required"/>
199 <complexType name="OperatorType">
201 <element ref="conf:Rule" maxOccurs="unbounded"/>
205 <element name="ApplicationMap">
208 <group ref="conf:ContentSettings"/>
209 <element ref="conf:Host" minOccurs="0" maxOccurs="unbounded"/>
211 <attribute name="uri" type="anyURI" use="optional"/>
212 <anyAttribute namespace="##any" processContents="lax"/>
216 <element name="Host">
219 <group ref="conf:ContentSettings"/>
220 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
222 <attribute name="scheme" use="optional" default="http">
224 <restriction base="string">
225 <enumeration value="http"/>
226 <enumeration value="https"/>
227 <enumeration value="ftp"/>
228 <enumeration value="ldap"/>
229 <enumeration value="ldaps"/>
233 <attribute name="name" type="string" use="required"/>
234 <attribute name="port" type="unsignedInt" use="optional"/>
235 <attribute name="applicationId" type="string" use="optional"/>
236 <anyAttribute namespace="##any" processContents="lax"/>
240 <element name="Path">
243 <group ref="conf:ContentSettings"/>
244 <element ref="conf:Path" minOccurs="0" maxOccurs="unbounded"/>
246 <attribute name="name" type="string" use="required"/>
247 <attribute name="applicationId" type="string" use="optional"/>
248 <anyAttribute namespace="##any" processContents="lax"/>
252 <element name="Applications">
255 Container for global target settings and application-specific overrides
260 <element ref="conf:Sessions"/>
261 <element ref="conf:Errors"/>
262 <element ref="conf:Policy"/>
263 <element ref="conf:CredentialUse"/>
264 <element ref="conf:Application" minOccurs="0" maxOccurs="unbounded"/>
265 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
267 <attribute name="providerId" type="anyURI" use="required"/>
268 <anyAttribute namespace="##any" processContents="lax"/>
272 <element name="Application">
275 Container for application-specific overrides
280 <element ref="conf:Sessions"/>
281 <element ref="conf:Errors" minOccurs="0"/>
282 <element ref="conf:Policy" minOccurs="0"/>
283 <element ref="conf:CredentialUse" minOccurs="0"/>
284 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
286 <attribute name="id" type="string" use="required"/>
287 <attribute name="providerId" type="anyURI" use="optional"/>
288 <anyAttribute namespace="##any" processContents="lax"/>
292 <element name="Errors">
295 Container for error templates and associated details
300 <extension base="anyType">
301 <attribute name="shire" type="anyURI" use="required"/>
302 <attribute name="rm" type="anyURI" use="required"/>
303 <attribute name="access" type="anyURI" use="required"/>
304 <attribute name="supportContact" type="string" use="required"/>
305 <attribute name="logoLocation" type="anyURI" use="required"/>
311 <element name="Sessions">
314 Container for specifying app session establishment and policy
319 <element name="shireURL">
322 <extension base="anyURI">
323 <attribute name="SSLOnly" type="boolean" use="optional"/>
328 <element name="cookieName">
331 <extension base="string">
332 <attribute name="SSLOnly" type="boolean" use="optional"/>
337 <element name="wayfURL" type="anyURI" minOccurs="0"/>
338 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
340 <attribute name="lifetime" type="unsignedInt" use="optional"/>
341 <attribute name="timeout" type="unsignedInt" use="optional"/>
342 <attribute name="normalizeRequest" type="boolean" use="optional"/>
343 <attribute name="checkAddress" type="boolean" use="optional"/>
344 <anyAttribute namespace="##any" processContents="lax"/>
348 <element name="Policy">
351 Container for specifying various policies for attributes, trust, and federations
356 <element name="Attributes" minOccurs="0">
359 <element ref="saml:AttributeDesignator" minOccurs="0" maxOccurs="unbounded"/>
360 <element name="AAPProvider" type="conf:PluggableType" minOccurs="0" maxOccurs="unbounded"/>
362 <attribute name="signRequest" type="boolean" use="optional"/>
363 <attribute name="signedResponse" type="boolean" use="optional"/>
364 <anyAttribute namespace="##any" processContents="lax"/>
367 <element name="FederationProvider" type="conf:PluggableType" minOccurs="0" maxOccurs="unbounded"/>
368 <element name="TrustProvider" type="conf:PluggableType" minOccurs="0" maxOccurs="unbounded"/>
369 <element name="Audiences" minOccurs="0">
372 <element ref="saml:Audience" maxOccurs="unbounded"/>
374 <anyAttribute namespace="##any" processContents="lax"/>
377 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
379 <anyAttribute namespace="##any" processContents="lax"/>
383 <element name="CredentialUse">
386 Container for specifying credentials to use
391 <element name="RelyingParty" minOccurs="0" maxOccurs="unbounded">
394 <extension base="anyType">
395 <attribute name="Name" type="string" use="required"/>
396 <attribute name="TLS" type="string" use="required"/>
397 <attribute name="Signing" type="string" use="required"/>
402 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
404 <attribute name="TLS" type="string" use="required"/>
405 <attribute name="Signing" type="string" use="required"/>
406 <anyAttribute namespace="##any" processContents="lax"/>