Thank you .
Thanks, Vamsy On Sun, Sep 27, 2015 at 12:05 PM, Peter Ondruška < [email protected]> wrote: > @WebFilter(urlPatterns = { "/*"})public class XFrameOptionsFilter extends > BaseFilter { @Override public void doFilter(final ServletRequest request, > final ServletResponse response, final FilterChain chain) throws IOException, > ServletException { final HttpServletResponse res = > (HttpServletResponse) response; res.setHeader("X-Frame-Options", "DENY"); > chain.doFilter(request, response); }} > > > On Sunday, 27 September 2015, Vamsy Rajuru <[email protected]> wrote: > >> Hi Peter, >> >> Thanks for the reply. >> >> I would really appreciate if you could share the source . >> >> >> Thanks, >> Vamsy. >> >> On Sun, Sep 27, 2015 at 11:49 AM, Peter Ondruška < >> [email protected]> wrote: >> >>> This is not Jetty specific if you deploy standard web application. Just >>> add a filter that adds header to response. Let me know if you need source. >>> >>> >>> On Sunday, 27 September 2015, Vamsy Rajuru <[email protected]> wrote: >>> >>>> >>>>> I am new to Jetty server. >>>>> >>>>> As part of our web inspect scan i need to set the X-FRAME-OPTIONS to >>>>> SAMEORIGIN in jetty9 server. Can someone please let me know the >>>>> configuration file that need to be edited to set this option. >>>>> >>>>> Thanks. >>>>> Vamsy >>>>> >>>>> >>>>> >>>>> -- >>>>> Vamsydhar Rajuru >>>>> Desk: 732-562-6859 >>>>> Cell: 732-710-7218 >>>>> Email: [email protected] >>>>> >>>> >>>> >>>> >>> _______________________________________________ >>> jetty-users mailing list >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://dev.eclipse.org/mailman/listinfo/jetty-users >>> >> >> >> >> -- >> Vamsydhar Rajuru >> Desk: 732-562-6859 >> Cell: 732-710-7218 >> Email: [email protected] >> > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users > -- Vamsydhar Rajuru Desk: 732-562-6859 Cell: 732-710-7218 Email: [email protected]
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
