1 <?xml version="1.0" encoding="UTF-8"?>
2 <schema targetNamespace="urn:mace:shibboleth:2.0:attribute-map"
3 xmlns="http://www.w3.org/2001/XMLSchema"
4 xmlns:am="urn:mace:shibboleth:2.0:attribute-map"
5 elementFormDefault="qualified">
9 This schema maps SAML attributes into Shibboleth internal attributes.
13 <simpleType name="string">
14 <restriction base="string">
15 <minLength value="1"/>
19 <simpleType name="listOfStrings">
20 <list itemType="am:string"/>
23 <element name="Attributes">
25 <documentation>The set of SAML 1/2 attribute mappings.</documentation>
29 <element name="Attribute" type="am:AttributeType" maxOccurs="unbounded"/>
34 <complexType name="AttributeType">
36 <documentation>Rule for mapping a SAML 1/2 attribute to an internal attribute.</documentation>
39 <element name="AttributeDecoder" type="am:AttributeDecoderType" minOccurs="0"/>
41 <attribute name="id" type="am:string" use="required">
43 <documentation>The internal attribute ID to which this SAML attribute maps.</documentation>
46 <attribute name="aliases" type="am:listOfStrings">
48 <documentation>Optional aliases for the internal attribute to which this SAML attribute maps.</documentation>
51 <attribute name="name" type="am:string" use="required">
53 <documentation>The SAML 1 AttributeName or SAML 2 Name of the attribute.</documentation>
56 <attribute name="nameFormat" type="am:string">
58 <documentation>The SAML 1 Namespace or SAML 2 NameFormat of the attribute.</documentation>
63 <complexType name="AttributeDecoderType" abstract="true">
66 Decodes a SAML attribute into its Shibboleth-internal representation.
69 <attribute name="caseSensitive" type="boolean" default="true">
72 Flag controlling case sensitivity when comparisons to the attribute's values are done.
78 <complexType name="StringAttributeDecoder">
81 Decoder for attributes with string values.
85 <extension base="am:AttributeDecoderType" />
89 <complexType name="ScopedAttributeDecoder">
92 Decoder for attributes with scoped values.
96 <extension base="am:AttributeDecoderType">
97 <attribute name="scopeDelimiter" type="am:string" default="@">
100 The character(s) used to delimit the scoped information from the scope.
108 <complexType name="NameIDAttributeDecoder">
111 Decoder for attributes with NameID values.
115 <extension base="am:AttributeDecoderType">
116 <attribute name="formatter" type="am:string" default="$Name!!$NameQualifier!!$SPNameQualifier">
119 The pattern used to generate string versions of the attribute's values.