public abstract class AbstractLogoutFilter extends AbstractSSOInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected org.gatein.common.logging.Logger |
log |
protected String |
logoutUrl |
PORTAL_CONTAINER_SUBSTITUTION_PATTERN| Constructor and Description |
|---|
AbstractLogoutFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected abstract String |
getRedirectUrl(javax.servlet.http.HttpServletRequest httpRequest) |
protected boolean |
handleLogout(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
Handle logout on SSO server side
|
protected void |
initImpl()
This method needs to be implemented by conrete filter.
|
protected boolean |
isLogoutInProgress(javax.servlet.http.HttpServletRequest request) |
afterInit, getExoContainer, getInitParameter, initWithParamsgetContainer, getServletContext, init, requirePortalEnvironmentprotected String logoutUrl
protected final org.gatein.common.logging.Logger log
protected void initImpl()
AbstractSSOInterceptorAbstractSSOInterceptor.getInitParameter(String). This works in both types of initialization
(Case1: Filter initialization through kernel, Case2: initialization through servlet API)initImpl in class AbstractSSOInterceptorpublic void destroy()
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionprotected boolean isLogoutInProgress(javax.servlet.http.HttpServletRequest request)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected boolean handleLogout(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws IOException
httpRequest - httpResponse - IOExceptionprotected abstract String getRedirectUrl(javax.servlet.http.HttpServletRequest httpRequest)
Copyright © 2019 JBoss by Red Hat. All Rights Reserved.