...
Attribute encoders are defined after any dependencies with an in a <resolver:AttributeDefinition>
after all <resolver:AttributeDefinition>Dependency>
.
To define a new SAML 2 scoped string attribute encoder, create a <resolver:AttributeEncoder xsi:type="SAML2ScopedString" xmlns="urn:mace:shibboleth:2.0:attribute:encoder">
with the following required attributes:
...