Trying to enable some header filters in web.xml and NOT having any luck. I
pretty much had to guess how to do this and my config looks like this:

    <filter>
        <filter-name>httpHeaderSecurity</filter-name>

<filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter
-class>
                        <init-param>
        
<param-name>blockContentTypeSniffingEnabled</param-name>
                                <param-value>true</param-value>
                        </init-param>
                        <init-param>
        
<param-name>antiClickJackingEnabled</param-name>
                                <param-value>true</param-value>
                        </init-param>
                        <init-param>
        
<param-name>antiClickJackingOption</param-name>
                                <param-value>SAMEORIGIN</param-value>
                        </init-param>
                        <init-param>
        
<param-name>xssProtectionEnabled</param-name>
                                <param-value>true</param-value>
                        </init-param>
        <async-supported>true</async-supported>
    </filter>


Thank You,

Dustin Delage

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to