ERR-Auth/External- No conversation state found in session
Surinaidu Majji
pioneer.suri at gmail.com
Wed Jun 17 03:11:27 EDT 2015
Hi,
We are a facing problem to prepare a servlet to handle external
authentication.
Thread link:: Control-not-RET-to-ConsumerURL-Idp3-1-1
<http://shibboleth.1660669.n2.nabble.com/Control-not-RET-to-ConsumerURL-Idp3-1-1-td7616278.html>
As part of IdP 3.1.1 upgrade , we are using 'Auth/External' .Later we tap
the SAML Response at our registered ConsumerURL once Authentication is
successful
*Construction of principle is as follows::*
Principal principal = new
UsernamePrincipal(principleName);
Subject subj = new Subject();
subj.getPrincipals().add(principal);
request.setAttribute(ExternalAuthentication.PRINCIPAL_KEY, principal);
request.setAttribute(ExternalAuthentication.PRINCIPAL_NAME_KEY, key);
request.setAttribute(ExternalAuthentication.SUBJECT_KEY, subj);
String key ="";
* ExternalAuthentication.finishExternalAuthentication(key, request,
response);*
*Our **external-authn-config.XML construction *is as follows::
*---------------------------------*
*external-authn-config.XML-----------------------------------------*
* <bean id="shibboleth.authn.External.externalAuthnPath"
class="java.lang.String"
c:_0="contextRelative:/ExternalLoginServlet?conversation=abc"
/>---------------------------------external-authn-config.XML-----------------------------------------*
But,
a) The control is not returning to our registered ConsumerURL from IdP
b) Error at the console :* No conversation state found in session"*
Please suggest...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20150617/f6a3a6d5/attachment.html>
More information about the dev
mailing list