MotechLoginUrlAuthenticationEntryPoint¶
-
public class
MotechLoginUrlAuthenticationEntryPoint
extends LoginUrlAuthenticationEntryPoint¶ Used to commence a form login authentication. Will redirect if the reqeust wasn’t an Ajax request.
Methods¶
commence¶
-
public void
commence
(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException)¶ Performs the redirect (or forward) to the login form URL, unless the request is an Ajax request, where a 401 response will be returned.