Class BroadleafAuthenticationFailureHandler
java.lang.Object
org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
org.broadleafcommerce.common.security.BroadleafAuthenticationFailureHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler
public class BroadleafAuthenticationFailureHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
-
Field Summary
Fields inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) voidsetExceptionMappings(Map<String, String> failureUrlMap) validateUrlParam(String url) Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
getRedirectStrategy, isAllowSessionCreation, isUseForward, saveException, setAllowSessionCreation, setDefaultFailureUrl, setRedirectStrategy, setUseForward
-
Constructor Details
-
BroadleafAuthenticationFailureHandler
public BroadleafAuthenticationFailureHandler() -
BroadleafAuthenticationFailureHandler
-
-
Method Details
-
onAuthenticationFailure
public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, jakarta.servlet.ServletException - Specified by:
onAuthenticationFailurein interfaceorg.springframework.security.web.authentication.AuthenticationFailureHandler- Overrides:
onAuthenticationFailurein classorg.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-
validateUrlParam
-
setExceptionMappings
-