How to append a string to IdP attribute

Cantor, Scott E. cantor.2 at osu.edu
Wed Aug 10 15:02:51 BST 2011


On 8/10/11 9:26 AM, "Sukesh Nischal" <Sukesh.Nischal at itslearning.com>
wrote:
>I¹m trying to create a SAML2 attribute on the IdP using LDAP as a data
>source. I¹m pulling  in the  sAMAccountName and I want to append a string
>like ³@domain² to it and map it to eduPersonPrincipalName , so I end up
>releasing sAMAccountName at domain. I¹ve had a look at the documentation for
>SAML 2 String Attribute Encoder but I can¹t see how you can do this.
>Could someone please advise me of the correct syntax I need to put in my
>attribute-resolver.xml  ?

EPPN is scoped, you need to use the Scoped attribute definition and just
supply the value to append in the configuration.

-- Scott



More information about the users mailing list