IDP extension (JAVA) - get user attributes

Yi Yang yyangjohnny at gmail.com
Mon Feb 1 22:18:49 EST 2016


So the V2 does not provide functions for the plugin?

On Tue, Feb 2, 2016 at 12:49 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:

> On 2/1/16, 6:26 PM, "Yi Yang" <yyangjohnny at gmail.com> wrote:
>
>
> >
> >In IDP, I want to get the user's attributes if the login is successful.
>
> The IdP already does that.
>
> > I make a filter to intercept the request and I am able to check if the
> user is authenticated by
> >calling the method loginContext.isUserAuthenticated().
>
> That isn't the current IdP and you shouldn't be building anything on it.
>
> > If the user is authenticated,
> > the request will be returned to AuthenticationEngine then ProfileHandler
> (as far as I can tell from the source code). In SSOProfileHandler, the
> completeAuthenticationRequest method builds a SSORequestContext and creates
> a samlResponse, and the attributes are
> > saved in the samlResponse. I am wondering if I can retrieve the
> SSORequestConext or the SamlResponse programmatically? Please correct me if
> I am wrong, I am new to shibboleth.
>
> Then get off V2. That's your first step.
>
> -- Scott
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160202/1d921708/attachment.html>


More information about the users mailing list