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
  • Constructor Details

    • BroadleafAuthenticationFailureHandler

      public BroadleafAuthenticationFailureHandler()
    • BroadleafAuthenticationFailureHandler

      public BroadleafAuthenticationFailureHandler(String defaultFailureUrl)
  • 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:
      onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
      Overrides:
      onAuthenticationFailure in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
      Throws:
      IOException
      jakarta.servlet.ServletException
    • validateUrlParam

      public String validateUrlParam(String url)
    • setExceptionMappings

      public void setExceptionMappings(Map<String,String> failureUrlMap)