3 Replies Latest reply on Oct 18, 2006 8:13 AM by jaikiran pai

    Null HttpSession using JAAS

    Bjornn Faria Newbie

      Hi all,

      I'm using JAAS in my web app with the basic authentication. It worked fine, until I write a filter.

      My filter asks for "request.getSession(false) != null" and make some session attribute binds if there is a session.

      I'm having problems when the filter is called at first time, just after I provide the user and password to JAAS. At this moment, the request.getSession(false) return false.

      Why? When the HttpSession object will be created?
      Because there is no session, my filter do not bind the atributes, and several others things that ask for the attribute don't work too.

      Please help me.