Two Laptop Bag
The moose likes Servlets and the fly likes How filter posts to j_security_check? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How filter posts to j_security_check?" Watch "How filter posts to j_security_check?" New topic

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:

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:
subject: How filter posts to j_security_check?
It's not a secret anymore!