Paul, To put the issue correctly, I need to access user credentials in my servlet while using Container managed authentication say FORM login. This is required because, I need them for some loging/establishing DB connections etc. Ofcourse, If we use programatic authentication, it can't be done easily.
In my first mail, I was trying to use a filter for j_security_check so that, I can hook some code there to perform the tasks. However, I was not able to do so. I will try your option. Thx Phani On 2/2/07, Vamsavardhana Reddy <[EMAIL PROTECTED]> wrote:
Phani, What kind of logging are you looking at? Vamsi On 1/31/07, Phani Madgula <[EMAIL PROTECTED]> wrote: > > Hi > I have a web application that uses FORM login. I would like to have a > filter to be declared for j_security_check service so that I can perform > some loging tasks. Is it allowed in Geronimo/Tomcat? > > I tried with the below tags but filter will not be called..! Any help on > this? > > <filter> > <filter-name >Page Request Timer</filter-name> > <filter-class>TimeTrackFilter</ filter-class> > </filter> > < filter-mapping> > <filter-name>Page Request Timer </filter-name> > <url-pattern >j_security_check</url-pattern> > </ filter-mapping> > > Regards > Phani >
