Class HttpFirewall

java.lang.Object
org.springframework.security.web.firewall.StrictHttpFirewall
com.logicaldoc.web.firewall.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
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HttpFirewall

      public HttpFirewall()
  • Method Details

    • 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