public class DefaultExceptionMappingAuthenticationFailureHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
Constructor and Description |
---|
DefaultExceptionMappingAuthenticationFailureHandler() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,AuthenticationFailureExceptionMapping> |
getFailureUrlMap() |
protected String |
getRootCauseException(org.springframework.security.core.AuthenticationException exception) |
void |
handleContextRefresh(org.springframework.context.event.ContextRefreshedEvent event) |
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception) |
public DefaultExceptionMappingAuthenticationFailureHandler()
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
@EventListener public void handleContextRefresh(org.springframework.context.event.ContextRefreshedEvent event)
protected String getRootCauseException(org.springframework.security.core.AuthenticationException exception)
protected Map<String,AuthenticationFailureExceptionMapping> getFailureUrlMap()
Copyright © 2021. All rights reserved.