1 Reply Latest reply on Aug 8, 2003 8:08 AM by petertje

    Any working example of getUserPrincipal()

    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. I'm starting to think there's a bug in JBoss, but since I can't find the bug database anywhere I can't check.

      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