Hi, thanks for reply, well, what i need is to know if the authentication was successful or not, I want to get the status of that authentication, I just need to know that status and has to be before the authentication mechanism continues.
I am trying to invoke j_security_check from inside another servlet. Any suggestions about how resolve my requirement? Thanks in advance. Alejandro On Thu, Oct 13, 2011 at 12:50 PM, Pid <p...@pidster.com> wrote: > On 13/10/2011 15:09, Alejandro Soto wrote: > > Hi, my name is Alejandro, I am working with Tomcat 7.0.20 and I need to > know > > how can I apply filters to j_security_check to verify the status of login > > before continue with my authentication process. > > You can't use Filters because the Authentication Valves act before the > Filter chain. > > Why do you need to filter on j_security_check? > > > p > > > I was thinking to use valves, but I read on internet that valves will be > > replaced with Filters - GSOC since Tomcat 7.0.x, so, I'm not sure what to > do > > . > > > > Please, this is very important to me and any help will be appreciated. > > > > Best Regards. > > > > > -- Alejandro Soto M. Cel: 705-63861