Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
The Shibboleth IdP V4 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only. See the IDP5 wiki space for current documentation on the supported version.
The SAML2XMLObject attribute encoder encodes a XMLObject-valued IdPAttribute as a SAML 2 Attribute.
Reference
Name
Type
Req?
Default
Description
Name
Type
Req?
Default
Description
name
string
Y
Value to put into the "Name" attribute of the output <AttributeValue> elements
nameFormat
string
urn:oasis:names:tc:SAML:2.0:attrname-format:uri
Value to put into the "NameFormat" attribute of the output <AttributeValue> elements
friendlyName
string
The enclosing attribute's ID
Value to put into the "FriendlyName" attribute of the output <AttributeValue> elements
Name
Type
Default
Description
encodeType
boolean
true
Controls whether the output form will contain an encoder-specific indication of the data type of the values. In XML, this takes the form of xsi:type attributes, which greatly bloat the size and generally should be avoided for string-valued data. The default is to continue to output the information, but we suggest disabling it in newer deployments and after testing against existing services.
activationConditionRef
Bean Reference
Bean ID of a condition bean that determines whether the encoder should be active, described further here. Mutually exclusive with relyingParties attribute and <ActivationConditionScript> element
relyingParties
whitespace-delimited list
List of entity IDs for which this Attribute Encoder should be active. Mutually exclusive with activationConditionRef attribute and <ActivationConditionScript> element
Name
Cardinality
Description
Name
Cardinality
Description
<ActivationConditionScript>
0 or 1
Optional embedded script to supply an activation condition for the encoder. Mutually exclusive with the activationConditionRef and relyingParties XML Attributes.
Example
<AttributeEncoder xsi:type="SAML2XMLObject" name="urn:oid:......."
friendlyName="Mad XML addtribute" encodeType="true" />