Class OAuth2AuthenticationFailureResponseHandler

java.lang.Object
cn.herodotus.engine.oauth2.authentication.response.OAuth2AuthenticationFailureResponseHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler

public class OAuth2AuthenticationFailureResponseHandler extends Object implements org.springframework.security.web.authentication.AuthenticationFailureHandler

Description: 认证失败处理器

Author:
: gengwei.zheng
Date:
: 2022/2/19 20:48
  • Constructor Details

    • OAuth2AuthenticationFailureResponseHandler

      public OAuth2AuthenticationFailureResponseHandler()
  • 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