...
The SAML 1 string attribute encoder creates SAML 1 <Attribute>
elements from resolved attributes with <AttributeValue>
elements for each value. The content of these <AttributeValue>
elements is a string created by invoking the resolve attribute values Object.toString() method. This encoder is only used for SAML 1 messages and will be ignored when the IdP is answering other protocol messages.
...