4 Replies Latest reply on Nov 27, 2014 12:32 PM by Pedro Igor

    Custom SAML Attribute Manager - unable to set FriendlyName

    Rustam Usmanov Apprentice

      Trying to implement custom attribute manager. Just as described at User-defined SAML Assertion Attributes.

      So I wrote a class that implements SAML2AttributeManager, passed it's FQN to AttributeManager attribute of PicketLinkIDP element at picketlink.xml. It works as intended except that my custom attribute in SAML response document has two attributes - Name and FriendlyName - with same values.

      Well, added attr.setFriendlyName("myFriendlyNameValue"); to the custom attribute manager - nothing changed - Name and FriendlyName have same values of Name.

      Did I miss something?