aspose file tools*
The moose likes Security and the fly likes filter for j_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Reply locked New topic
Author

filter for j_security_check

Angel J Gama
Ranch Hand

Joined: Jun 28, 2007
Posts: 36
Hi!
Is there any way to set a filter for j_security_check? I'm using tomcat 6.x

An snippet of what I got so far is:


The thing is, I have a user's table where I store his id, password and an activatedAccount flag. So what I want is that the user can access to his account page only when he has already activated his account (this activation is through an email link).
I though the solution would be using a filter when requesting j_security_check, so I can check if the account beign authenthicated has been already activated by the user, but for some unknown reason to me this filter is never been called.
Any ideas or suggestions?

Btw My realm def is ok, authentication works ok... it's the jsecurity's filter the one that is not being called =(
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: filter for j_security_check