accessing user principal in scripted attributes
Cantor, Scott
cantor.2 at osu.edu
Sat Jun 13 13:04:06 EDT 2015
On 6/13/15, 6:28 AM, "users on behalf of Rod Widdowson" <users-bounces at shibboleth.net on behalf of rdw at steadingsoftware.com> wrote:
>It's always obvious when you see it......
>
>requestContext is the simulation of the old V2 context and for that you need
>to call requestContext.getPrincipalName().
I could have sworn that's what he was using, but now I see it was actually just requestContext.principalName. Either way, very odd error to get mentioning "null" for that.
-- Scott
More information about the users
mailing list