wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?
It is sorta covered in the JavaRanch Style Guide.
subject: How filter posts to j_security_check?
Similar Threads
Can't get my login servlet to be called
LoginFilter & j_security_check
Filter not mapped
Problem with the url-pattern for my filter-mapping
Post - login processing