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
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
rocket mass heater
subject: Filter only GET Methods
Securing my web application on JBoss 5.1.0.GA
Problems getting Tomcat to work without Eclipse IDE
using multiple security-constraints
problem with security constraints
[WAS] Activate security and create a role
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014