we are having Tomcat 6 and i am using Spnego JNA version.
Here is our environment details:
We have windows 2008 server and our web application runs on tomcat 6 on the server. we dont have any active directory or domain environment.
Assume we have a server and client computer and client acess the application using IE browser.
Details on the scenario which was failing:
Lets assume On the server we have a windows local user 'user1' with password 'pass1'.
Client has a windows local user 'user1' and password 'pass2' and user1 is logged into windows. If he open a IE browser and access the application on the server we ger a 401 requires http authentication.
In this case where password doesnt match for user1, we want a windows popup to ask for username and password and if user1 provides 'user1' and 'pass1' he should be authenticated to the application.