4 Replies Latest reply on Jun 6, 2012 4:49 AM by sfcoy

    Tracking of web login state in JBoss AS 7.1.1

    sfcoy

      Hi there,

       

      We are using javax.servlet.http.HttpServletRequest#login(java.lang.String, java.lang.String) to authenticate users in JBoss AS 7.1.1, and found that unless we prefix the login call with

       

      {code:java}request.getSession(true);{code}

       

      the container forgets that we have authenticated for subsequent requests.

       

      This seems like a bug to me.