public class RecaptchaAwareRedirectStrategy
extends org.springframework.security.web.DefaultRedirectStrategy
| Modifier and Type | Field and Description |
|---|---|
protected LoginFailuresManager |
failuresManager |
static java.lang.String |
RECAPTCHA_ERROR_PARAMETER_NAME |
static java.lang.String |
SHOW_RECAPTCHA_QUERY_PARAM |
| Constructor and Description |
|---|
RecaptchaAwareRedirectStrategy(LoginFailuresManager failuresManager) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.security.core.AuthenticationException |
getAuthenticationException(javax.servlet.http.HttpServletRequest request) |
void |
sendRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String url) |
public static final java.lang.String RECAPTCHA_ERROR_PARAMETER_NAME
public static final java.lang.String SHOW_RECAPTCHA_QUERY_PARAM
protected final LoginFailuresManager failuresManager
public RecaptchaAwareRedirectStrategy(LoginFailuresManager failuresManager)
public void sendRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String url)
throws java.io.IOException
sendRedirect in interface org.springframework.security.web.RedirectStrategysendRedirect in class org.springframework.security.web.DefaultRedirectStrategyjava.io.IOExceptionprotected org.springframework.security.core.AuthenticationException getAuthenticationException(javax.servlet.http.HttpServletRequest request)