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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterLogin
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookieLogin, String loginStatus) void
beforeLogin
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookieLogin) void
destroy()
void
-
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 interfacecom.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 interfacecom.atlassian.seraph.interceptor.LoginInterceptor
-
destroy
public void destroy()- Specified by:
destroy
in interfacecom.atlassian.seraph.interceptor.Interceptor
-
init
- Specified by:
init
in interfacecom.atlassian.seraph.Initable
-