Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Disable HTTP Trace for embedded Jetty server

See answer for disabling TRACE in jetty embedded at

http://stackoverflow.com/questions/29348328/java-embedded-jetty-is-accepting-http-trace-method

Note that Jan's answer is the correct one.

--
Joakim Erdfelt <joakim@xxxxxxxxxxx>
Expert advice, services and support from from the Jetty & CometD experts

On Sun, May 17, 2015 at 2:46 PM, Silvio Bierman <sbierman@xxxxxxxxxxxxxxxxxx> wrote:
Yes, I thought of that but imagined there might be some built-in way of doing this that might be more efficient.

If that is not the case I guess that is the best way. Thank you very much.

Cheers,

Silvio



On 05/17/2015 03:37 PM, Christoph Läubrich wrote:
WHat about using a simple filter that responds with 403 on TRACE?

Am 16.05.2015 01:33, schrieb Silvio Bierman:
Hello all,

I am using an embedded Jetty 9.2 server. I want to disable the HTTP Trace method but the only info on this I could find is related to a WebApplication which I do not use. I basically use

Server
ContextHandlerCollection
ServletContextHandler
ServletHolder
ServerConnector

Can anyone tell me how I can disable HTTP Trace using this setup?

Cheers,

Silvio
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top