> 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