0 Replies Latest reply on Oct 28, 2002 10:26 PM by Ben Litchfield

    isUserInRole returns null on unsecured JSP

    Ben Litchfield Newbie

      I have some secured JSP's and some unsecured JSP's. When I login using FORM authentication the isUserInRole() works correctly on JSPs that are secured. It does not work on unsecured pages. The same is true for getUserPrincipal().

      Is this really the correct behavior? I have a page that is insecure but would like to personalize it if the user is logged in.

      I have tried this using tomcat and jetty and have gotten the same results.