public class AccessControlChecker extends AbstractRequestHandler
| Modifier and Type | Field and Description |
|---|---|
protected UrlCanonicalizer |
canonicalizer |
protected ExclusionFilterFactory |
exclusionFactory |
protected static String |
HTTP_PREFIX |
protected static String |
HTTPS_PREFIX |
| Constructor and Description |
|---|
AccessControlChecker() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkAccess(String url,
PrintWriter writer) |
UrlCanonicalizer |
getCanonicalizer() |
ExclusionFilterFactory |
getExclusionFactory() |
boolean |
handleRequest(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Possibly handle an incoming HttpServletRequest, much like a normal
HttpServlet, but includes a return value.
|
void |
setCanonicalizer(UrlCanonicalizer canonicalizer) |
void |
setExclusionFactory(ExclusionFilterFactory exclusionFactory) |
getAccessPointPath, getBeanName, getInternalPort, getMapParam, getMapParamOrEmpty, getRequiredMapParam, getServletContext, registerPortListener, setAccessPointPath, setBeanName, setInternalPort, setServletContext, translateRequestPath, translateRequestPathQueryprotected static final String HTTP_PREFIX
protected static final String HTTPS_PREFIX
protected ExclusionFilterFactory exclusionFactory
protected UrlCanonicalizer canonicalizer
public boolean handleRequest(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws javax.servlet.ServletException,
IOException
RequestHandlerhttpRequest - the incoming HttpServletRequesthttpResponse - the HttpServletResponse to return data to the client.javax.servlet.ServletException - for usual reasons.IOException - for usual reasons.protected boolean checkAccess(String url, PrintWriter writer)
public ExclusionFilterFactory getExclusionFactory()
public void setExclusionFactory(ExclusionFilterFactory exclusionFactory)
public UrlCanonicalizer getCanonicalizer()
public void setCanonicalizer(UrlCanonicalizer canonicalizer)
Copyright © 2005–2015 IIPC. All rights reserved.