public class ConfigAwareAuthenticationFailureHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
SimpleUrlAuthenticationFailureHandler
that uses site config to override propertiesModifier 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.SimpleUrlAuthenticationFailureHandler
public 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.AuthenticationFailureHandler
onAuthenticationFailure
in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
IOException
javax.servlet.ServletException
Copyright © 2020 CrafterCMS. All rights reserved.