aspose file tools*
The moose likes Servlets and the fly likes Filter only GET Methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Filter only GET Methods" Watch "Filter only GET Methods" New topic

Filter only GET Methods

elvadas nono

Joined: Jul 04, 2011
Posts: 12
Hi all,
How coan I filter only http Method GET of an url-pattern using DD config?
With securtity Constraint for example you see that it is possible to apply security constraint only to the POST Method for example using

Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1506
Not declaratively. You do have access tot he request object though.

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: Filter only GET Methods
Similar Threads
[WAS] Activate security and create a role
using multiple security-constraints
Securing my web application on JBoss 5.1.0.GA
Problems getting Tomcat to work without Eclipse IDE
problem with security constraints