<div dir="ltr"><div>Thanks Scott, Even I believe the SSO should work but not sure why It is not happeneing.</div><div><br></div><div>Added:</div><div> 1.idp.authn.flows=CustomFlow</div><div> 2. Added below snipped in general-authnn.xml (Is is compulsory to add into external-authn or general-authn.xml will work here?)</div><div> <bean id="authn/CustomFlow" parent="shibboleth.AuthenticationFlow"</div><div> p:nonBrowserSupported="false" </div><div> p:passiveAuthenticationSupported="false"</div><div> p:forcedAuthenticationSupported="false"></div><div> </bean></div><div> 3. Added respective CustomFlow directory in flows\authn\</div><div> 4. Added below snipped into my CustomServlet</div><div> try {</div><div> final String key = ExternalAuthentication.startExternalAuthentication(httpRequest);</div><div> String username = httpRequest.getRemoteUser();</div><div> if (username != null) {</div><div> httpRequest.setAttribute(ExternalAuthentication.SUBJECT_KEY, getSubject);</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> </div><div>Do you think I am missing anything over here ?</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>
<br><div class="gmail_quote">On Thu, Mar 23, 2017 at 7:26 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-">> 1.User hits application via sp1 ,user asked for authentication and idp<br>
> session is created.<br>
> 2.User next hits the application via sp2 and is redirected to idp login<br>
> page .<br>
<br>
</span>The only IdP login page that exists is part of the Password login flow, so that's simply not possible unless you're being very imprecise in what you're asking about.<br>
<span class="gmail-"><br>
> Am I missing out something in External authentication or is it designed that way ?<br>
<br>
</span>External is identical to everything else, SSO is automatic if the request can be satisfied with the old result.<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br>
-- Scott<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>
</div></div></blockquote></div><br></div></div>