I have configured mod_spnego on an Apache server (2.0.52) using mod_jk to connect to a Tomcat (5) server.
The SPNEGO auth is OK and the tomcat server receives the request.
Tomcat is configured not to make its own authentification (tomcatAuthentication="false" in server.xml). The config is working with mod_ntlm.
However, with SNEGO, the request does not contains anything about the connected user (getRemoteUser() or getUserPrincipal() return null).
Does anyone already tryed this config ?
Thanks
Lec.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have configured mod_spnego on an Apache server (2.0.52) using mod_jk to connect to a Tomcat (5) server.
The SPNEGO auth is OK and the tomcat server receives the request.
Tomcat is configured not to make its own authentification (tomcatAuthentication="false" in server.xml). The config is working with mod_ntlm.
However, with SNEGO, the request does not contains anything about the connected user (getRemoteUser() or getUserPrincipal() return null).
Does anyone already tryed this config ?
Thanks
Lec.
Sory, wrong config in apache: I was using the spnego auth in a Directory block instead of a Location block.
Strange results however....
Lec.