public class LoginFailuresCountingHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
| Modifier and Type | Field and Description |
|---|---|
protected LoginFailuresManager |
failuresManager |
| Constructor and Description |
|---|
LoginFailuresCountingHandler(LoginFailuresManager failuresManager,
RecaptchaProperties recaptcha,
RecaptchaAwareRedirectStrategy redirectStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception) |
void |
setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy) |
protected final LoginFailuresManager failuresManager
public LoginFailuresCountingHandler(LoginFailuresManager failuresManager, RecaptchaProperties recaptcha, RecaptchaAwareRedirectStrategy redirectStrategy)
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception)
throws java.io.IOException,
javax.servlet.ServletException
onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandleronAuthenticationFailure in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandlerjava.io.IOExceptionjavax.servlet.ServletExceptionpublic void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy)
setRedirectStrategy in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler