0 Replies Latest reply on Jul 21, 2003 10:22 AM by dlhoots

    Getting getUserPrincipal() to work correctly

    dlhoots

      I've been trying for a couple of 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