<div dir="ltr"><div>Thanks for the reply,</div><div><br></div><div>I have added external flow as per this doc(<a href="https://wiki.shibboleth.net/confluence/display/IDP30/ExternalAuthnConfiguration">https://wiki.shibboleth.net/confluence/display/IDP30/ExternalAuthnConfiguration</a>)</div><div>try {</div><div> final String key = ExternalAuthentication.startExternalAuthentication(httpRequest);</div><div> //do External Authentication</div><div> String username = httpRequest.getRemoteUser();</div><div> if (username != null) {</div><div> httpRequest.setAttribute(ExternalAuthentication.PRINCIPAL_NAME_KEY, username);</div><div> }</div><div> ExternalAuthentication.finishExternalAuthentication(key, httpRequest, httpResponse);</div><div> </div><div>} catch (final ExternalAuthenticationException e) {</div><div> throw new ServletException("Error processing external authentication request", e);</div><div>} </div><div>and my idp.properties file is having idp.authn.flow= Password|CustomFlow and am able to do authentication via CustomFlow and till here everything works fine.</div><div>Later when I hit another SP for the same flow(CustomFlow), it is asking for credential rather then re-authentication internally. </div><div><br></div><div>So, basically I just want to know am I missing anything over here or do I need to set anymore attributes before ExternalAuthentication.finishExternalAuthentication(key, httpRequest, httpResponse);</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_quote">On Tue, Mar 21, 2017 at 7:16 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">> So could you please tell me hows shibboleth verifies the existing session<br>
> which makes SSO work .<br>
<br>
</span>This isn't about the session, it's a question of selecting authentication flows and determining when previous results are sufficient to satisfy a request. That's documented in the wiki.<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.<wbr>net</a><br>
</font></span></blockquote></div><br></div></div>