<div dir="ltr">So the V2 does not provide functions for the plugin?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 2, 2016 at 12:49 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2/1/16, 6:26 PM, "Yi Yang" <<a href="mailto:yyangjohnny@gmail.com">yyangjohnny@gmail.com</a>> wrote:<br>
<br>
<br>
><br>
>In IDP, I want to get the user's attributes if the login is successful.<br>
<br>
</span>The IdP already does that.<br>
<span class=""><br>
> I make a filter to intercept the request and I am able to check if the user is authenticated by<br>
>calling the method loginContext.isUserAuthenticated().<br>
<br>
</span>That isn't the current IdP and you shouldn't be building anything on it.<br>
<span class=""><br>
> If the user is authenticated,<br>
> 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<br>
> 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.<br>
<br>
</span>Then get off V2. That's your first step.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
</font></span></blockquote></div><br></div>