You can add AttributeStatement to SAML assertion implementing org.picketlink.identity.federation.core.interfaces.AttributeManager.
However, the value of NameFormat in AttributeStatement is hard-coded to "urn:oasis:names:tc:SAML:2.0:attrname-format:uri" in org.picketlink.identity.federation.core.saml.v2.util.StatementUtil.createAttributeStatement(Map<String, Object> attributes). It should be mutable, eg, "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"
|