-
1. Re: HTTP PUT
welle Feb 15, 2011 11:45 AM (in response to zzpprk)If your question is about disable HTTP put for ALL calls to the web container I do not think it's possible.
But if you want to disable HTTP put for a web application a POSSIBLE solution could be to use the
"<security-constraint>" in the web.xml to make sure that the specified "
<http-method>"
can only by executedif the caller is in a special group (that no one is)
-
2. Re: HTTP PUT
welle Feb 15, 2011 11:52 AM (in response to welle)I just realized that you probably can implement a Tomcat Valve that stops all HTTP put request if you want to disable the possibility for the whole web container.
-
3. HTTP PUT
zzpprk Feb 15, 2011 11:52 AM (in response to welle)This is more like it.
Please be patient with me and tell me what to put and in what file.
I am a real beginner and do not know what files control what!
Many thanks
-
4. Re: HTTP PUT
welle Feb 15, 2011 12:09 PM (in response to zzpprk)Well...
- The first suggestion is based on that the web application is a J2EE standard WAR package. Setup is done in "WEB-INF/web.xml" and "WEB-INF/jboss-web.xml"
- For the second suggestion I would suggest using google to find more information about tomcat valves. (It's more of a programming solution rather than configuration I'm afraid)