<schema targetNamespace="urn:mace:shibboleth:2.0:native:sp:config"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
+ xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
blockDefault="substitution"
version="2.4">
+ <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />
<import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
<import namespace="urn:oasis:names:tc:SAML:2.0:protocol" schemaLocation="saml-schema-protocol-2.0.xsd"/>
<import namespace="urn:oasis:names:tc:SAML:2.0:metadata" schemaLocation="saml-schema-metadata-2.0.xsd"/>
<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="StorageService" type="IDREF"/>
- <attribute name="cacheTimeout" type="unsignedInt"/>
+ <attribute name="cacheAllowance" type="unsignedInt"/>
+ <attribute name="cacheTimeout" type="unsignedInt"/> <!-- deprecated -->
<anyAttribute namespace="##any" processContents="lax"/>
</restriction>
</complexContent>
<documentation>Ties ReplayCache to a custom StorageService</documentation>
</annotation>
<sequence/>
- <attribute name="StorageService" type="IDREF" use="required"/>
+ <attribute name="StorageService" type="IDREF"/>
</complexType>
<complexType name="ArtifactMapType">
<attribute name="checkSpoofing" type="boolean"/>
<attribute name="spoofKey" type="conf:string"/>
<attribute name="catchAll" type="boolean"/>
+ <attribute name="extraAuthTypes" type="conf:listOfStrings"/>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
</complexType>
<attributeGroup name="ContentSettings">
+ <attribute name="applicationId" type="conf:string"/>
<attribute name="authType" type="conf:string"/>
<attribute name="requireSession" type="boolean"/>
<attribute name="requireSessionWith" type="conf:string"/>
<element name="Host" type="conf:HostType"/>
<element name="HostRegex" type="conf:HostRegexType"/>
</choice>
+ <element ref="ds:Signature" minOccurs="0"/>
</sequence>
- <attribute name="applicationId" type="conf:string" fixed="default"/>
+ <attribute name="unicodeAware" type="boolean"/>
<attributeGroup ref="conf:ContentSettings"/>
</complexType>
</element>
</attribute>
<attribute name="name" type="conf:string" use="required"/>
<attribute name="port" type="unsignedInt"/>
- <attribute name="applicationId" type="conf:string"/>
<attributeGroup ref="conf:ContentSettings"/>
</complexType>
</sequence>
<attribute name="regex" type="conf:string" use="required"/>
<attribute name="ignoreCase" type="boolean"/>
- <attribute name="applicationId" type="conf:string"/>
<attributeGroup ref="conf:ContentSettings"/>
</complexType>
</choice>
</sequence>
<attribute name="name" type="conf:string" use="required"/>
- <attribute name="applicationId" type="conf:string"/>
<attributeGroup ref="conf:ContentSettings"/>
</complexType>
</sequence>
<attribute name="regex" type="conf:string" use="required"/>
<attribute name="ignoreCase" type="boolean"/>
- <attribute name="applicationId" type="conf:string"/>
<attributeGroup ref="conf:ContentSettings"/>
</complexType>
<sequence>
<element name="Sessions" type="conf:SessionsType"/>
<element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
- <element name="RelyingParty" type="conf:RelyingPartyType" minOccurs="0" maxOccurs="unbounded"/>
- <element name="Notify" type="conf:NotifyType" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
- <element name="MetadataProvider" type="conf:PluggableType"/>
- <element name="TrustEngine" type="conf:PluggableType"/>
- <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
- <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
- <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
- <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
- <element name="ApplicationOverride" type="conf:ApplicationOverrideType" minOccurs="0" maxOccurs="unbounded"/>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element name="RelyingParty" type="conf:RelyingPartyType"/>
+ <element name="Notify" type="conf:NotifyType"/>
+ <element ref="saml:Audience"/>
+ <element name="MetadataProvider" type="conf:PluggableType"/>
+ <element name="TrustEngine" type="conf:PluggableType"/>
+ <element name="AttributeExtractor" type="conf:PluggableType"/>
+ <element name="AttributeResolver" type="conf:PluggableType"/>
+ <element name="AttributeFilter" type="conf:PluggableType"/>
+ <element name="CredentialResolver" type="conf:PluggableType"/>
+ <element name="ApplicationOverride" type="conf:ApplicationOverrideType"/>
+ </choice>
</sequence>
<attribute name="id" type="conf:string" fixed="default"/>
<attribute name="entityID" type="anyURI" use="required"/>
- <attribute name="policyId" type="conf:string" use="required"/>
+ <attribute name="policyId" type="conf:string"/>
<attributeGroup ref="conf:ApplicationGroup"/>
<attributeGroup ref="conf:RelyingPartyGroup"/>
<anyAttribute namespace="##other" processContents="lax"/>
<sequence>
<element name="Sessions" type="conf:SessionsType" minOccurs="0"/>
<element name="Errors" type="conf:ErrorsType" minOccurs="0"/>
- <element name="RelyingParty" type="conf:RelyingPartyType" minOccurs="0" maxOccurs="unbounded"/>
- <element name="Notify" type="conf:NotifyType" minOccurs="0" maxOccurs="unbounded"/>
- <element ref="saml:Audience" minOccurs="0" maxOccurs="unbounded"/>
- <element name="MetadataProvider" type="conf:PluggableType" minOccurs="0"/>
- <element name="TrustEngine" type="conf:PluggableType" minOccurs="0"/>
- <element name="AttributeExtractor" type="conf:PluggableType" minOccurs="0"/>
- <element name="AttributeResolver" type="conf:PluggableType" minOccurs="0"/>
- <element name="AttributeFilter" type="conf:PluggableType" minOccurs="0"/>
- <element name="CredentialResolver" type="conf:PluggableType" minOccurs="0"/>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element name="RelyingParty" type="conf:RelyingPartyType"/>
+ <element name="Notify" type="conf:NotifyType"/>
+ <element ref="saml:Audience"/>
+ <element name="MetadataProvider" type="conf:PluggableType"/>
+ <element name="TrustEngine" type="conf:PluggableType"/>
+ <element name="AttributeExtractor" type="conf:PluggableType"/>
+ <element name="AttributeResolver" type="conf:PluggableType"/>
+ <element name="AttributeFilter" type="conf:PluggableType"/>
+ <element name="CredentialResolver" type="conf:PluggableType"/>
+ </choice>
</sequence>
<attribute name="id" type="conf:string" use="required"/>
<attribute name="entityID" type="anyURI"/>
<attribute name="requireTransportAuth" type="boolean"/>
<attribute name="requireSignedAssertions" type="boolean"/>
</attributeGroup>
-
+
<complexType name="SessionsType">
<annotation>
<documentation>Container for specifying protocol handlers and session policy</documentation>
</annotation>
- <choice minOccurs="0" maxOccurs="unbounded">
- <element ref="conf:SessionInitiator"/>
- <element ref="conf:LogoutInitiator"/>
- <element ref="md:AssertionConsumerService"/>
- <element ref="md:ArtifactResolutionService"/>
- <element ref="md:SingleLogoutService"/>
- <element ref="md:ManageNameIDService"/>
- <element name="Handler">
+ <sequence>
+ <element name="SSO" minOccurs="0">
<complexType>
- <complexContent>
- <restriction base="conf:PluggableType">
- <sequence>
- <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="Location" type="anyURI" use="required"/>
- <attribute name="acl" type="conf:listOfStrings"/>
- <anyAttribute namespace="##any" processContents="lax"/>
- </restriction>
- </complexContent>
+ <annotation>
+ <documentation>Implicitly configures SessionInitiator and AssertionConsumerService handlers</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="conf:listOfStrings">
+ <attribute name="discoveryProtocol" type="conf:string"/>
+ <attribute name="discoveryURL" type="anyURI"/>
+ <attributeGroup ref="conf:SessionInitiatorGroup"/>
+ </extension>
+ </simpleContent>
</complexType>
</element>
- </choice>
- <attribute name="handlerURL" type="anyURI" use="required"/>
+ <element name="Logout" minOccurs="0">
+ <complexType>
+ <annotation>
+ <documentation>Implicitly configures LogoutInitiator and SingleLogoutService handlers</documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="conf:listOfStrings">
+ <attributeGroup ref="conf:LogoutInitiatorGroup"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+ </element>
+ <element name="NameIDMgmt" type="conf:listOfStrings" minOccurs="0">
+ <annotation>
+ <documentation>Implicitly configures ManageNameIDService handlers</documentation>
+ </annotation>
+ </element>
+ <choice minOccurs="0" maxOccurs="unbounded">
+ <element ref="conf:SessionInitiator"/>
+ <element ref="conf:LogoutInitiator"/>
+ <element ref="md:AssertionConsumerService"/>
+ <element ref="md:ArtifactResolutionService"/>
+ <element ref="md:SingleLogoutService"/>
+ <element ref="md:ManageNameIDService"/>
+ <element ref="conf:Handler"/>
+ </choice>
+ </sequence>
+ <attribute name="handlerURL" type="anyURI"/>
<attribute name="handlerSSL" type="boolean"/>
<attribute name="exportLocation" type="conf:string"/>
<attribute name="exportACL" type="conf:listOfStrings"/>
<attribute name="postLimit" type="positiveInteger"/>
<attribute name="postTemplate" type="conf:string"/>
<attribute name="postExpire" type="boolean"/>
+ <attribute name="relayState" type="conf:string"/>
<anyAttribute namespace="##other" processContents="lax"/>
</complexType>
<attribute name="policyId" type="conf:string">
<annotation>
- <documentation>Used to reference Policy elements from profile endpoints.</documentation>
+ <documentation>Used to override Policy from profile endpoints</documentation>
</annotation>
</attribute>
+ <attributeGroup name="SessionInitiatorGroup">
+ <annotation>
+ <documentation>Options common to explicit and implicit SessionInitiators</documentation>
+ </annotation>
+ <attribute name="relayState" type="conf:string"/>
+ <attribute name="entityIDParam" type="conf:string"/>
+ <attribute name="entityID" type="anyURI"/>
+ <attribute name="outgoingBindings" type="conf:listOfURIs"/>
+ <attribute name="preservedOptions" type="conf:listOfStrings"/>
+ <attribute name="template" type="anyURI"/>
+ <attribute name="postArtifact" type="boolean"/>
+ <attribute name="acsByIndex" type="boolean"/>
+ <attribute name="isPassive" type="boolean"/>
+ <attribute name="returnOnError" type="boolean"/>
+ <attribute name="forceAuthn" type="boolean"/>
+ <attribute name="authnContextClassRef" type="anyURI"/>
+ <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
+ <attribute name="NameIDFormat" type="anyURI"/>
+ <attribute name="SPNameQualifier" type="conf:string"/>
+ <attribute name="requestDelegation" type="boolean"/>
+ <attribute name="target" type="anyURI"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </attributeGroup>
+
<element name="SessionInitiator">
<annotation>
<documentation>Used to specify handlers that can issue AuthnRequests or perform discovery</documentation>
<attribute name="Location" type="anyURI"/>
<attribute name="id" type="conf:string"/>
<attribute name="isDefault" type="boolean"/>
- <attribute name="relayState" type="conf:string"/>
- <attribute name="entityIDParam" type="conf:string"/>
- <attribute name="entityID" type="anyURI"/>
<attribute name="URL" type="anyURI"/>
- <attribute name="outgoingBindings" type="conf:listOfURIs"/>
- <attribute name="template" type="anyURI"/>
- <attribute name="postArtifact" type="boolean"/>
- <attribute name="acsByIndex" type="boolean"/>
<attribute name="acsIndex" type="unsignedShort"/>
<attribute name="defaultACSIndex" type="unsignedShort"/> <!-- deprecated -->
- <attribute name="isPassive" type="boolean"/>
- <attribute name="returnOnError" type="boolean"/>
- <attribute name="forceAuthn" type="boolean"/>
- <attribute name="authnContextClassRef" type="anyURI"/>
- <attribute name="authnContextComparison" type="samlp:AuthnContextComparisonType"/>
- <attribute name="NameIDFormat" type="anyURI"/>
- <attribute name="SPNameQualifier" type="conf:string"/>
- <attribute name="requestDelegation" type="boolean"/>
- <attribute name="target" type="anyURI"/>
- <anyAttribute namespace="##any" processContents="lax"/>
+ <attributeGroup ref="conf:SessionInitiatorGroup"/>
</restriction>
</complexContent>
</complexType>
</element>
+ <attributeGroup name="LogoutInitiatorGroup">
+ <annotation>
+ <documentation>Options common to explicit and implicit LogoutInitiators</documentation>
+ </annotation>
+ <attribute name="relayState" type="conf:string"/>
+ <attribute name="outgoingBindings" type="conf:listOfURIs"/>
+ <attribute name="template" type="anyURI"/>
+ <attribute name="postArtifact" type="boolean"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </attributeGroup>
+
<element name="LogoutInitiator">
<annotation>
<documentation>Used to specify handlers that can issue LogoutRequests</documentation>
<any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="Location" type="anyURI"/>
- <attribute name="relayState" type="conf:string"/>
- <attribute name="outgoingBindings" type="conf:listOfURIs"/>
- <attribute name="template" type="anyURI"/>
- <attribute name="postArtifact" type="boolean"/>
+ <attributeGroup ref="conf:LogoutInitiatorGroup"/>
+ </restriction>
+ </complexContent>
+ </complexType>
+ </element>
+
+ <element name="Handler">
+ <annotation>
+ <documentation>Used to specify custom handlers</documentation>
+ </annotation>
+ <complexType>
+ <complexContent>
+ <restriction base="conf:PluggableType">
+ <sequence>
+ <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="Location" type="anyURI" use="required"/>
+ <attribute name="acl" type="conf:listOfStrings"/>
<anyAttribute namespace="##any" processContents="lax"/>
</restriction>
</complexContent>
<anyAttribute namespace="##any" processContents="lax"/>
</complexType>
- <complexType name="SecurityPoliciesType">
- <annotation>
- <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
- </annotation>
- <sequence>
- <element name="Policy" minOccurs="1" maxOccurs="unbounded">
- <annotation>
- <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
- </annotation>
- <complexType>
- <choice>
- <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
- <element name="PolicyRule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
- </choice>
- <attribute name="id" type="conf:string" use="required"/>
- <attribute name="validate" type="boolean"/>
- <anyAttribute namespace="##any" processContents="lax"/>
- </complexType>
- </element>
- <choice minOccurs="0">
- <element name="AlgorithmWhitelist" type="conf:listOfURIs"/>
- <element name="AlgorithmBlacklist" type="conf:listOfURIs"/>
- </choice>
- </sequence>
- </complexType>
+ <element name="SecurityPolicies">
+ <complexType>
+ <annotation>
+ <documentation>Container for specifying sets of policy rules to apply to incoming messages</documentation>
+ </annotation>
+ <sequence>
+ <element name="Policy" minOccurs="1" maxOccurs="unbounded">
+ <annotation>
+ <documentation>Specifies a set of SecurityPolicyRule plugins</documentation>
+ </annotation>
+ <complexType>
+ <choice>
+ <element name="Rule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
+ <element name="PolicyRule" type="conf:PluggableType" minOccurs="1" maxOccurs="unbounded"/>
+ </choice>
+ <attribute name="id" type="conf:string" use="required"/>
+ <attribute name="validate" type="boolean"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </complexType>
+ </element>
+ <choice minOccurs="0">
+ <element name="AlgorithmWhitelist" type="conf:listOfURIs"/>
+ <element name="AlgorithmBlacklist" type="conf:listOfURIs"/>
+ </choice>
+ </sequence>
+ </complexType>
+ </element>
<element name="TransportOption">
<annotation>
</annotation>
<sequence>
<element name="Extensions" type="conf:ExtensionsType" minOccurs="0"/>
- <element name="OutOfProcess" type="conf:OutOfProcessType"/>
- <element name="InProcess" type="conf:InProcessType"/>
+ <element name="OutOfProcess" type="conf:OutOfProcessType" minOccurs="0"/>
+ <element name="InProcess" type="conf:InProcessType" minOccurs="0"/>
<choice minOccurs="0">
<element name="UnixListener">
<complexType>
<element name="ArtifactMap" type="conf:ArtifactMapType" minOccurs="0"/>
<element name="RequestMapper" type="conf:PluggableType" minOccurs="0"/>
<element name="ApplicationDefaults" type="conf:ApplicationDefaultsType"/>
- <element name="SecurityPolicies" type="conf:SecurityPoliciesType"/>
+ <choice>
+ <element name="SecurityPolicyProvider" type="conf:PluggableType"/>
+ <element ref="conf:SecurityPolicies"/> <!-- deprecated -->
+ </choice>
+ <element name="ProtocolProvider" type="conf:PluggableType" minOccurs="0"/>
<element ref="conf:TransportOption" minOccurs="0" maxOccurs="unbounded"/>
+ <element ref="ds:Signature" minOccurs="0"/>
</sequence>
<attribute name="logger" type="anyURI"/>
<attribute name="clockSkew" type="unsignedInt"/>