Class InvalidateSessionDuringLogin

java.lang.Object
com.atlassian.bamboo.user.authentication.InvalidateSessionDuringLogin
All Implemented Interfaces:
com.atlassian.seraph.Initable, com.atlassian.seraph.interceptor.Interceptor, com.atlassian.seraph.interceptor.LoginInterceptor

public class InvalidateSessionDuringLogin extends Object implements com.atlassian.seraph.interceptor.LoginInterceptor
When a session is present during login, this interceptor will invalidate it.
  • Constructor Details

    • InvalidateSessionDuringLogin

      public InvalidateSessionDuringLogin()
  • Method Details

    • beforeLogin

      public void beforeLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookieLogin)
      Specified by:
      beforeLogin in interface com.atlassian.seraph.interceptor.LoginInterceptor
    • afterLogin

      public void afterLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookieLogin, String loginStatus)
      Specified by:
      afterLogin in interface com.atlassian.seraph.interceptor.LoginInterceptor
    • destroy

      public void destroy()
      Specified by:
      destroy in interface com.atlassian.seraph.interceptor.Interceptor
    • init

      public void init(Map<String,String> params, com.atlassian.seraph.config.SecurityConfig config)
      Specified by:
      init in interface com.atlassian.seraph.Initable