public class DomainWhitelistingFilter extends AbstractRequestAuthorizingFilter
Constructor and Description |
---|
DomainWhitelistingFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
init(javax.servlet.FilterConfig config) |
protected boolean |
isRequestAuthorized(javax.servlet.http.HttpServletRequest request)
Implement concrete code logic to evaluate an HTTP request
|
doFilter, setPathIgnored
public void destroy()
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
javax.servlet.ServletException
protected boolean isRequestAuthorized(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException, IOException
AbstractRequestAuthorizingFilter
isRequestAuthorized
in class AbstractRequestAuthorizingFilter
request
- HTTP request to evaluatejavax.servlet.ServletException
- Allows internal servlet exceptionIOException
- Allows internal IO exceptionCopyright © 2012-2015. All Rights Reserved.