As described in CXF-4484 some fixes are required on the STS side to properly encode claims in SAML 1.1/2.0 attributes. This fix supports encoding prior to CXF-4484 and after.