ERR-Auth/External- No conversation state found in session

Cantor, Scott cantor.2 at osu.edu
Wed Jun 17 10:11:35 EDT 2015


On 6/17/15, 3:11 AM, "dev on behalf of Surinaidu Majji" <dev-bounces at shibboleth.net on behalf of pioneer.suri at gmail.com> wrote:

>
>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);

You ignored everything I wrote you already about not doing all of that. Furthermore, what is key? It certainly isn't a principal name.

>                              String key ="";

Now you've cleared the key.

>ExternalAuthentication.finishExternalAuthentication(key, request, response);

And now you're trying to use an empty key as the conversation ID in the API.

-- Scott




More information about the dev mailing list