Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The standar way to disable trace in jetty is the configuration of the web.xml like

Code Block

 <security-constraint>

...


 <web-resource-collection>

...


 <web-resource-name>NoTrace</web-resource-name>

...


 <url-pattern>/*</url-pattern>

...


 <http-method>TRACE</http-method>

...


 </web-resource-collection>

...


 <auth-constraint>

...


 </auth-constraint>

...


 </security-constraint>
 

This does not work with jetty running in JobScheduler. This is the reason, we have disabled the trace method in jetty plugin.