Accessing user attributes after authentication

Cantor, Scott cantor.2 at osu.edu
Mon Aug 19 09:24:15 EDT 2013


On 8/19/13 9:09 AM, "Tamim Ziai" <tamim.ziai at daasi.de> wrote:
>
>we' re developing a two-factor login handler where user attributes are
>needed after a successful Shibboleth authentication for the second
>authentication. The question is how to get them! An idea that came out is
>to use the attribute resolver and its method
> resolveAttributes() to get them.
>
>1. Is this a good idea?

It's not a bad idea.

> 
>2. If yes, where to get the (ShibbolethSSORequestContext) request context
>from?

You have to create it.

> 
>3. If no, could you please give some hints how to do this?

There are existing contributions that have examples of this. The OSU login
handler contribution for one.

-- Scott




More information about the dev mailing list