MotechLoginSuccessJSONHandler¶
-
public class
MotechLoginSuccessJSONHandler
extends SavedRequestAwareAuthenticationSuccessHandler¶ Class is responsible for returning successful login attempts as JSON objects instead of a redirect if the request was Ajax
Methods¶
handle¶
-
protected void
handle
(HttpServletRequest request, HttpServletResponse response, Authentication authentication)¶
onAuthenticationSuccess¶
-
public void
onAuthenticationSuccess
(HttpServletRequest request, HttpServletResponse response, Authentication authentication)¶