MotechLoginSuccessHandler

public class MotechLoginSuccessHandler extends SavedRequestAwareAuthenticationSuccessHandler

Class responsible for logging info about users that log in and for resetting their failure login counter. Extends SavedRequestAwareAuthenticationSuccessHandler. It also serves as a fallback for storing sessions that started with the server before web-security was started.

See also: org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler

Methods

onAuthenticationSuccess

public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)