On 05/05/2010 22:41, Srinivasa Rao.Kandula wrote:
> Hello Team,
>     I need help implementing a Custom Login module for a web application 
> which will run on Tomcat 6.X. I need to access ServletRequest/HttpSession in 
> side the login module to access an attribute from the HttpSession.  Basically 
> I'm supposed to use form-based authentication for the web application and the 
> login module/relam should use an attribute from the HttpSession which was 
> already created for the current user session(browser session).Any help will 
> be much appreciated. 


I think you are looking for JAAS:

 http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JAASRealm


p

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to