Menu

mod_spnego and Tomcat

lec01
2006-01-05
2013-04-16
  • lec01

    lec01 - 2006-01-05

    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.

     
    • lec01

      lec01 - 2006-01-05

      Sory, wrong config in apache: I was using the spnego auth in a Directory block instead of a Location block.
      Strange results however....
      Lec.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.