tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Hall <rfha...@yahoo.com>
Subject Re: Help need for implementing Custom Login Module
Date Thu, 06 May 2010 00:39:05 GMT
Srinivas,

--- On Wed, 5/5/10 at 5:05 PM, Srinivasa Rao.Kandula <srinivas_j2ee@yahoo.com> wrote:

> Well, I know how to implement
> form-based authentication. Here the requirement is to access
> ServletRequest/HttpSession from the login module. Thanks for
> you inputs though. 
> 

You could implement a Filter that extracts the attribute(s) of interest
from the ServletRequest/HttpSession and use ThreadLocal to make the
attribute(s) available throughout your application for the life of the
Request.

- Bob


      

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


Mime
View raw message