[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Is it possible to access request parameters within custo

sreeraaman do-not-reply at jboss.com
Wed Dec 20 07:41:09 EST 2006


Hi All,

I finally figured out as to how to get the current request object inside my login module:

following is the piece of code which would do that:


  | public static final String WEB_REQUEST_KEY = "javax.servlet.http.HttpServletRequest";
  | 
  | HttpServletRequest request = (HttpServletRequest) PolicyContext.getContext(WEB_REQUEST_KEY);
  | 

regards
sriraman.



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

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



More information about the jboss-user mailing list