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">
8 This schema maps SAML attributes into Shibboleth internal attributes.
12 <simpleType name="string">
13 <restriction base="string">
14 <minLength value="1"/>
18 <element name="Attributes">
20 <documentation>The set of SAML 1/2 attribute mappings.</documentation>
24 <element name="Attribute" type="am:AttributeType" maxOccurs="unbounded"/>
29 <complexType name="AttributeType">
31 <documentation>Rule for mapping a SAML 1/2 attribute to an internal attribute.</documentation>
34 <element name="AttributeDecoder" type="am:AttributeDecoderType" minOccurs="0"/>
36 <attribute name="id" type="am:string" use="required">
38 <documentation>The internal attribute ID to which this SAML attribute maps.</documentation>
41 <attribute name="name" type="am:string" use="required">
43 <documentation>The SAML 1 AttributeName or SAML 2 Name of the attribute.</documentation>
46 <attribute name="nameFormat" type="am:string">
48 <documentation>The SAML 1 Namespace or SAML 2 NameFormat of the attribute.</documentation>
53 <complexType name="AttributeDecoderType" abstract="true">
56 Decodes a SAML attribute into its Shibboleth-internal representation.
59 <attribute name="caseSensitive" type="boolean" default="true">
62 Flag controlling case sensitivity when comparisons to the attribute's values are done.
68 <complexType name="StringAttributeDecoder">
71 Decoder for attributes with string values.
75 <extension base="am:AttributeDecoderType" />
79 <complexType name="ScopedAttributeDecoder">
82 Decoder for attributes with scoped values.
86 <extension base="am:AttributeDecoderType">
87 <attribute name="scopeDelimiter" type="am:string" default="@">
90 The character(s) used to delimit the scoped information from the scope.
98 <complexType name="NameIDAttributeDecoder">
101 Decoder for attributes with NameID values.
105 <extension base="am:AttributeDecoderType">
106 <attribute name="formatter" type="am:string" default="$Name!!$NameQualifier!!$SPNameQualifier">
109 The pattern used to generate string versions of the attribute's values.