<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="urn:mace:shibboleth:2.0:attribute-map"
xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:am="urn:mace:shibboleth:2.0:attribute-map">
+ xmlns:am="urn:mace:shibboleth:2.0:attribute-map"
+ elementFormDefault="qualified"
+ version="2.2">
<annotation>
<documentation>
<minLength value="1"/>
</restriction>
</simpleType>
+
+ <simpleType name="anyURI">
+ <restriction base="anyURI">
+ <minLength value="1"/>
+ </restriction>
+ </simpleType>
+
+ <simpleType name="listOfStrings">
+ <list itemType="am:string"/>
+ </simpleType>
+
+ <complexType name="PluggableType">
+ <sequence>
+ <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+ </sequence>
+ <attribute name="type" type="am:string" use="required"/>
+ <anyAttribute namespace="##any" processContents="lax"/>
+ </complexType>
<element name="Attributes">
<annotation>
</annotation>
<complexType>
<sequence>
+ <element name="MetadataProvider" type="am:PluggableType" minOccurs="0"/>
+ <element name="TrustEngine" type="am:PluggableType" minOccurs="0"/>
+ <element name="AttributeFilter" type="am:PluggableType" minOccurs="0"/>
<element name="Attribute" type="am:AttributeType" maxOccurs="unbounded"/>
</sequence>
+ <attribute name="metadataPolicyId" type="am:string"/>
</complexType>
</element>
<documentation>The internal attribute ID to which this SAML attribute maps.</documentation>
</annotation>
</attribute>
+ <attribute name="aliases" type="am:listOfStrings">
+ <annotation>
+ <documentation>Optional aliases for the internal attribute to which this SAML attribute maps.</documentation>
+ </annotation>
+ </attribute>
<attribute name="name" type="am:string" use="required">
<annotation>
<documentation>The SAML 1 AttributeName or SAML 2 Name of the attribute.</documentation>
</annotation>
<complexContent>
<extension base="am:AttributeDecoderType">
- <attribute name="scopeDelimiter" type="am:string" default="@">
+ <attribute name="scopeDelimiter" type="am:string">
<annotation>
<documentation>
The character(s) used to delimit the scoped information from the scope.
</annotation>
<complexContent>
<extension base="am:AttributeDecoderType">
- <attribute name="formatter" type="am:string" default="$Name!!$NameQualifier!!$SPNameQualifier">
+ <attribute name="formatter" type="am:string">
+ <annotation>
+ <documentation>
+ The pattern used to generate string versions of the attribute's values.
+ </documentation>
+ </annotation>
+ </attribute>
+ </extension>
+ </complexContent>
+ </complexType>
+
+ <complexType name="NameIDFromScopedAttributeDecoder">
+ <annotation>
+ <documentation>
+ Decoder for attributes with scoped values that produces a NameID attribute with
+ the scope dropped and the NameQualifiers defaulted.
+ </documentation>
+ </annotation>
+ <complexContent>
+ <extension base="am:ScopedAttributeDecoder">
+ <attribute name="format" type="am:anyURI">
+ <annotation>
+ <documentation>
+ Value to use as the NameID Format.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="formatter" type="am:string">
<annotation>
<documentation>
The pattern used to generate string versions of the attribute's values.