Class HttpFirewall

  • All Implemented Interfaces:
    org.springframework.security.web.firewall.HttpFirewall

    public class HttpFirewall
    extends org.springframework.security.web.firewall.StrictHttpFirewall
    A firewall specialization that allows to be turned off.
    Since:
    8.8.2
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpFirewall()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.security.web.firewall.FirewalledRequest getFirewalledRequest​(javax.servlet.http.HttpServletRequest request)  
      javax.servlet.http.HttpServletResponse getFirewalledResponse​(javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class org.springframework.security.web.firewall.StrictHttpFirewall

        getDecodedUrlBlacklist, getDecodedUrlBlocklist, getEncodedUrlBlacklist, getEncodedUrlBlocklist, setAllowBackSlash, setAllowedHeaderNames, setAllowedHeaderValues, setAllowedHostnames, setAllowedHttpMethods, setAllowedParameterNames, setAllowedParameterValues, setAllowNull, setAllowSemicolon, setAllowUrlEncodedCarriageReturn, setAllowUrlEncodedDoubleSlash, setAllowUrlEncodedLineFeed, setAllowUrlEncodedLineSeparator, setAllowUrlEncodedParagraphSeparator, setAllowUrlEncodedPercent, setAllowUrlEncodedPeriod, setAllowUrlEncodedSlash, setUnsafeAllowAnyHttpMethod
    • Constructor Detail

      • HttpFirewall

        public HttpFirewall()
    • Method Detail

      • getFirewalledRequest

        public org.springframework.security.web.firewall.FirewalledRequest getFirewalledRequest​(javax.servlet.http.HttpServletRequest request)
                                                                                         throws org.springframework.security.web.firewall.RequestRejectedException
        Specified by:
        getFirewalledRequest in interface org.springframework.security.web.firewall.HttpFirewall
        Overrides:
        getFirewalledRequest in class org.springframework.security.web.firewall.StrictHttpFirewall
        Throws:
        org.springframework.security.web.firewall.RequestRejectedException
      • getFirewalledResponse

        public javax.servlet.http.HttpServletResponse getFirewalledResponse​(javax.servlet.http.HttpServletResponse response)
        Specified by:
        getFirewalledResponse in interface org.springframework.security.web.firewall.HttpFirewall
        Overrides:
        getFirewalledResponse in class org.springframework.security.web.firewall.StrictHttpFirewall