Class ProxyFilterService
java.lang.Object
org.exoplatform.web.security.proxy.ProxyFilterService
The proxy filter service is used for filtering http access when it is performed by GateIn. The following rules applies to the
filtering:
- Same host URI grants access
- A black list match of the host denies access
- A white list match of the host grants access
- Access is denied
- a
white-listparameter that specifies a list of white list rules - a
black-listparameter that specifies a list of black list rules
- Version:
- $Revision$
- Author:
- Julien Viet
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ProxyFilterService
public ProxyFilterService(org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
accept
public boolean accept(jakarta.servlet.http.HttpServletRequest request, org.exoplatform.container.PortalContainer container, URI remoteURI) Returns true if access to a remote URI should be granted.- Parameters:
request- the servlet request doing the requestcontainer- the portal container associated with the requestremoteURI- the remote URI to check- Returns:
- the access to the remote URI
-