0 Replies Latest reply on Jul 23, 2003 3:00 PM by David Hoots

    Getting null for HttpServletRequest.getUserPrincipal().

    David Hoots Newbie

      I've been trying for several days now to get HttpServletRequest.getUserPrincipal() to return something other than null, with absolutely no success. Based on my results and other posts, I'm starting to think there's a bug in JBoss, but I can't find anything about it in the bug database.

      If anybody has a working example of using getUserPrincipal() with JBoss3.2.1 would you mind replying with a zip/tar/whatever that includes your jboss-web.xml, login-config.xml, web.xml, and source code files for your HttpServlet (or the Action if you're using Struts) and LoginModule classes?

      Thanks!
      David