[jboss-user] [Security & JAAS/JBoss] - Re: Null HttpSession using JAAS

jaikiran do-not-reply at jboss.com
Wed Oct 18 01:22:01 EDT 2006


Why are you using request.getSession(false)? Instead why not use the overloaded method request.getSession() which:

anonymous wrote : Returns the current session associated with this request, or if the request does not have a session, creates one.

Here's the API reference:

http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html#getSession()



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978968#3978968

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978968



More information about the jboss-user mailing list