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
I agree. Here's the link:
subject: Filter only GET Methods
[WAS] Activate security and create a role
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014