Class CustomAuthorizationFailureHandler

java.lang.Object
swiss.trustbroker.oidcmock.CustomAuthorizationFailureHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler

public class CustomAuthorizationFailureHandler extends Object implements org.springframework.security.web.authentication.AuthenticationFailureHandler
  • Constructor Details

    • CustomAuthorizationFailureHandler

      public CustomAuthorizationFailureHandler(String authorize)
  • 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
      Throws:
      IOException
      jakarta.servlet.ServletException