Package org.gatein.sso.agent.filter
Class InitiateLoginFilter
java.lang.Object
org.exoplatform.container.web.AbstractFilter
org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
org.gatein.sso.agent.filter.InitiateLoginFilter
- All Implemented Interfaces:
javax.servlet.Filter,SSOInterceptor
- Author:
- soshah
-
Field Summary
Fields inherited from class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
PORTAL_CONTAINER_SUBSTITUTION_PATTERNFields inherited from class org.exoplatform.container.web.AbstractFilter
config, servletContextName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) protected StringgetLoginRedirectUrl(javax.servlet.http.HttpServletRequest req) protected OpenSSOAgentprotected voidinitImpl()This method needs to be implemented by conrete filter.protected voidprocessSSOToken(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) Methods inherited from class org.gatein.sso.agent.filter.api.AbstractSSOInterceptor
afterInit, getExoContainer, getInitParameter, initWithParamsMethods inherited from class org.exoplatform.container.web.AbstractFilter
getContainer, getServletContext, init, requirePortalEnvironmentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.servlet.Filter
init
-
Constructor Details
-
InitiateLoginFilter
public InitiateLoginFilter()
-
-
Method Details
-
initImpl
protected void initImpl()Description copied from class:AbstractSSOInterceptorThis method needs to be implemented by conrete filter. Filter should obtain it's init parameters by callingAbstractSSOInterceptor.getInitParameter(String). This works in both types of initialization (Case1: Filter initialization through kernel, Case2: initialization through servlet API)- Specified by:
initImplin classAbstractSSOInterceptor
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Throws:
IOExceptionjavax.servlet.ServletException
-
destroy
public void destroy() -
getOpenSSOAgent
-
processSSOToken
protected void processSSOToken(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws Exception - Throws:
Exception
-
getLoginRedirectUrl
-