com.atlassian.jira.user.preferences
Class UserPreferencesResetInterceptor
java.lang.Object
com.atlassian.jira.user.preferences.UserPreferencesResetInterceptor
- All Implemented Interfaces:
- com.atlassian.seraph.Initable, com.atlassian.seraph.interceptor.Interceptor, com.atlassian.seraph.interceptor.LoginInterceptor
public class UserPreferencesResetInterceptor
- extends Object
- implements com.atlassian.seraph.interceptor.LoginInterceptor
A simple interceptor to ensure any cached user preferences are cleared on login (more as a precaution).
Method Summary |
void |
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 |
init(Map params,
com.atlassian.seraph.config.SecurityConfig config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserPreferencesResetInterceptor
public UserPreferencesResetInterceptor()
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 params,
com.atlassian.seraph.config.SecurityConfig config)
- Specified by:
init
in interface com.atlassian.seraph.Initable
Copyright © 2002-2011 Atlassian. All Rights Reserved.