Set attribute based on multiple sourceAttributeIds

Juan Padilla juan.padilla at nxp.com
Thu Oct 6 14:55:17 EDT 2016


I had an AttributeDefinition set to Scoped ... changed to Simple and email value is correct now.

Thanks.
-Juan

-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Rod Widdowson
Sent: Thursday, October 06, 2016 3:37 AM
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: Set attribute based on multiple sourceAttributeIds

> But seems that the email address is either being truncated or split 
> after script execution (example: joe.blow instead of
joe.blow at hubbabubba.com).
> Logs show value from ldap: Found the following attribute: 
> alt_email[joe.blow at hubbabubba.com]

As Nate says, you have almost certainly got email or alt_email as scoped attributes and you best bet is to flatten that out upstream.  You might be able to fix this downstream too (by comparing the definition and use of email to the definition and use of setEmail).

This is also fixable in the script, but it requires moving over to the net.shibboleth.... Attributes,  rather than the (legacy) edu.internet2...  ones.

I am OOF for the next 2 days but if this isn't resolved by the weekend I'll look more closely.  Meanwhile I'd be interested in how you are deriving alt_email and email and what other differences you have downstream (other definitions which include them, encoders) between 'setEmail' and 'email'.

Rod

--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list