Package com.logicaldoc.web.firewall
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
-
Method Summary
Modifier and TypeMethodDescriptionorg.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 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 interfaceorg.springframework.security.web.firewall.HttpFirewall
- Overrides:
getFirewalledRequest
in classorg.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 interfaceorg.springframework.security.web.firewall.HttpFirewall
- Overrides:
getFirewalledResponse
in classorg.springframework.security.web.firewall.StrictHttpFirewall
-