public class ConfigAwareAuthenticationFailureHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
SimpleUrlAuthenticationFailureHandler that uses site config to override properties| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultFailureUrl |
static String |
LOGIN_FAILURE_URL_KEY |
| Constructor and Description |
|---|
ConfigAwareAuthenticationFailureHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
determineFailureUrl() |
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception) |
void |
setDefaultFailureUrl(String defaultFailureUrl) |
public static final String LOGIN_FAILURE_URL_KEY
protected String defaultFailureUrl
public ConfigAwareAuthenticationFailureHandler()
protected String determineFailureUrl()
public void setDefaultFailureUrl(String defaultFailureUrl)
setDefaultFailureUrl in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandlerpublic void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception)
throws IOException,
javax.servlet.ServletException
onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandleronAuthenticationFailure in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandlerIOExceptionjavax.servlet.ServletExceptionCopyright © 2020 CrafterCMS. All rights reserved.