kwart/spnego-demo

javax.security.auth.login.LoginException: Continuation Required.

Closed this issue · 3 comments

Hi, I'm trying to configure SPNEGO auth on a Jboss as 7 versus AD, but with no success. I've found this demo and I've decided to try this, following every step on the README, to figure out what I'm doing wrong in my other application, but after the kinit when I try to browse the user page I get an 401 response and the server raises this exception:

javax.security.auth.login.LoginException: Continuation Required.

snhp commented

Hi ,

Even iam facing the same issue. I followed the spengo demo and deployed the application.. Iam able to access the url http://localhost:8080/spnego-demo/ and three links displayed Home , User and Admin Page.. Iam getting 401 - Unauthorized error.

Can you please let me know whether you were able to resolve your issue.

There could be a problem with location of krb5.conf (at least in my current environment I have this problem).

Solution is simple, just to put the generated krb5.conf into /etc folder. Don't forget to backup your original file.

I'm closing this issue for now. If you experience the problem again, feel free to reopen it.