tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Help need for implementing Custom Login Module
Date Thu, 06 May 2010 09:06:43 GMT
On 05/05/2010 22:41, Srinivasa Rao.Kandula wrote:
> Hello Team,
>     I need help implementing a Custom Login module for a web applicatio=
n which will run on Tomcat 6.X. I need to access ServletRequest/HttpSessi=
on in side the login module to access an attribute from the HttpSession. =
 Basically I'm supposed to use form-based authentication for the web appl=
ication and the login module/relam should use an attribute from the HttpS=
ession which was already created for the current user session(browser ses=
sion).Any help will be much appreciated.=20


I think you are looking for JAAS:

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


p


Mime
View raw message