public class InitiateLoginFilter extends AbstractSSOInterceptor
PORTAL_CONTAINER_SUBSTITUTION_PATTERN| Constructor and Description |
|---|
InitiateLoginFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected CASAgent |
getCasAgent() |
protected JOSSOAgent |
getJOSSOAgent() |
protected String |
getLoginRedirectUrl(javax.servlet.http.HttpServletRequest req) |
protected OpenSSOAgent |
getOpenSSOAgent() |
protected void |
initImpl()
This method needs to be implemented by conrete filter.
|
protected void |
processSSOToken(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse) |
afterInit, getExoContainer, getInitParameter, initWithParamsgetContainer, getServletContext, init, requirePortalEnvironmentprotected 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 AbstractSSOInterceptorprotected CASAgent getCasAgent()
protected JOSSOAgent getJOSSOAgent()
protected OpenSSOAgent getOpenSSOAgent()
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic void destroy()
protected void processSSOToken(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws Exception
Exceptionprotected String getLoginRedirectUrl(javax.servlet.http.HttpServletRequest req)
Copyright © 2019 JBoss by Red Hat. All Rights Reserved.