This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes How filter posts to j_security_check? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "How filter posts to j_security_check?" Watch "How filter posts to j_security_check?" New topic
Author

How filter posts to j_security_check?

Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
I added a filter and tried two different URL mappings:
/*
and
/j_security_check

When I do the second one ("j_security_check") my filter is never called (even though a form posted to that URL) and if I do the first, it is called but I cannot get the password/username. I want to intercept the request BEFORE it gets to j_security_check. Is there a way to do this?
 
I agree. Here's the link: http://jrebel.com/download
 
subject: How filter posts to j_security_check?
 
Similar Threads
Filter not mapped
Post - login processing
Problem with the url-pattern for my filter-mapping
LoginFilter & j_security_check
Can't get my login servlet to be called