File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Filter only GET Methods
Joined: Jul 04, 2011
Jul 19, 2011 10:07:20
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
<security-constraint> <web-resource-collection> <web-rerource-name>HelloRessource<web-rerource-name> <url-pattern>/Hello.do</url-pattern> <http-method>POST<http-method> <web-resource-collection> </security-constraint>
Joined: Nov 06, 2000
Jul 19, 2011 10:35:11
Not declaratively. You do have access tot he request object though.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Filter only GET Methods
[WAS] Activate security and create a role
Problems getting Tomcat to work without Eclipse IDE
Securing my web application on JBoss 5.1.0.GA
problem with security constraints
using multiple security-constraints
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013