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 <element name="Attributes">
21 <documentation>The set of SAML 1/2 attribute mappings.</documentation>
25 <element name="Attribute" type="am:AttributeType" maxOccurs="unbounded"/>
30 <complexType name="AttributeType">
32 <documentation>Rule for mapping a SAML 1/2 attribute to an internal attribute.</documentation>
35 <element name="AttributeDecoder" type="am:AttributeDecoderType" minOccurs="0"/>
37 <attribute name="id" type="am:string" use="required">
39 <documentation>The internal attribute ID to which this SAML attribute maps.</documentation>
42 <attribute name="name" type="am:string" use="required">
44 <documentation>The SAML 1 AttributeName or SAML 2 Name of the attribute.</documentation>
47 <attribute name="nameFormat" type="am:string">
49 <documentation>The SAML 1 Namespace or SAML 2 NameFormat of the attribute.</documentation>
54 <complexType name="AttributeDecoderType" abstract="true">
57 Decodes a SAML attribute into its Shibboleth-internal representation.
60 <attribute name="caseSensitive" type="boolean" default="true">
63 Flag controlling case sensitivity when comparisons to the attribute's values are done.
69 <complexType name="StringAttributeDecoder">
72 Decoder for attributes with string values.
76 <extension base="am:AttributeDecoderType" />
80 <complexType name="ScopedAttributeDecoder">
83 Decoder for attributes with scoped values.
87 <extension base="am:AttributeDecoderType">
88 <attribute name="scopeDelimiter" type="am:string" default="@">
91 The character(s) used to delimit the scoped information from the scope.
99 <complexType name="NameIDAttributeDecoder">
102 Decoder for attributes with NameID values.
106 <extension base="am:AttributeDecoderType">
107 <attribute name="formatter" type="am:string" default="$Name!!$NameQualifier!!$SPNameQualifier">
110 The pattern used to generate string versions of the attribute's values.