The documentation is good but it is incomplete. The example is about the http client while there is nothing on the server side. What I'm looking for, and I believe is the goal of this thread, is an easy way to implement NTLM or SPNEGO authentication on a servlet container (Tomcat, JBoss or others ) inside a Windows intranet.
For NTLM there is an easy way using JCIFS library which transparently to the programmer provides authentication. Using request.getRemoteUser() it is possible to retrive the name of the authenticated user.
I'm trying to find out if jcifs really supports SPNEGO - Kerberos authentication.
Thanks
Filippo
Message was edited by:
setecastronomy
"For NTLM there is an easy way using JCIFS library which transparently to the programmer provides authentication. Using request.getRemoteUser() it is possible to retrive the name of the authenticated user. "
Does this mean, will this give the client user name, the one who is using the application?
Can you please provide some example or sample code ?
Thanks