Thank you. I'll give this a try if I decide to switch to mod_proxy_ajp. As a side note mod_proxy_ajp does work with Jetty to set this value. However, Jetty, like Glassfish seems to have trouble with mod_proxy_http.
So, again, is there any solution for mod_proxy_http?
--Kevin
-----Original Message-----
From: Braswell, Stephen [mailto:stephen_at_unc.edu]
Sent: Thursday, May 03, 2012 3:39 PM
To: <users_at_glassfish.java.net>
Subject: Re: Apache mod_proxy_http and REMOTE_USER
> I can access these variables through the HttpServletRequest.getHeader() method. However, I would like HttpServletRequest.getRemoteUser() (and javax.ws.rs.SecurityContext) to work (it currently returns NULL). Is there a configuration setting necessary to map the appropriate HTTP header so that Glassfish uses it as the authenticated user?
See if the following trick helps:
http://java.net/projects/glassfish/lists/users/archive/2010-02/message/720