On 18/05/2016 03:56, saurabh.su...@rbs.com.INVALID wrote:
> Hello experts
> 
> How to acess HttpServletRequest in Jaas login module in Tomcat? In Jboss we 
> can get it through
> 
> 
> HttpServletRequest request = 
> (HttpServletRequest)PolicyContext.getContext("javax.servlet.http.HttpServletRequest")
> 
> But it's not working in Tomcat since Jacc is not supported by Tomcat yet. Is 
> there anyother way in tomcat to get HttpServletRequest in Jaas login module ?

Unless you write some custom Tomcat code, no. You'd need to extend the
JAASRealm and the JAASCallbackHandler at a minimum.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to