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

public class InitiateLoginFilter extends AbstractSSOInterceptor
Author:
soshah
  • Constructor Details

    • InitiateLoginFilter

      public InitiateLoginFilter()
  • Method Details

    • initImpl

      protected void initImpl()
      Description copied from class: AbstractSSOInterceptor
      This method needs to be implemented by conrete filter. Filter should obtain it's init parameters by calling AbstractSSOInterceptor.getInitParameter(String). This works in both types of initialization (Case1: Filter initialization through kernel, Case2: initialization through servlet API)
      Specified by:
      initImpl in class AbstractSSOInterceptor
    • doFilter

      public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • destroy

      public void destroy()
    • getOpenSSOAgent

      protected OpenSSOAgent getOpenSSOAgent()
    • processSSOToken

      protected void processSSOToken(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse) throws Exception
      Throws:
      Exception
    • getLoginRedirectUrl

      protected String getLoginRedirectUrl(javax.servlet.http.HttpServletRequest req)