类 OAuth2AccessTokenResponseHandler

java.lang.Object
cn.herodotus.stirrup.oauth2.management.response.OAuth2AccessTokenResponseHandler
所有已实现的接口:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

public class OAuth2AccessTokenResponseHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler

Description: 自定义 Security 认证成功处理器

作者:
: gengwei.zheng
Date:
: 2022/2/25 16:53
  • 构造器概要

    构造器
    构造器
    说明
    OAuth2AccessTokenResponseHandler(cn.herodotus.stirrup.web.servlet.crypto.HttpCryptoProcessor httpCryptoProcessor)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.springframework.security.web.authentication.AuthenticationSuccessHandler

    onAuthenticationSuccess
  • 构造器详细资料

    • OAuth2AccessTokenResponseHandler

      public OAuth2AccessTokenResponseHandler(cn.herodotus.stirrup.web.servlet.crypto.HttpCryptoProcessor httpCryptoProcessor)
  • 方法详细资料

    • onAuthenticationSuccess

      public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException
      指定者:
      onAuthenticationSuccess 在接口中 org.springframework.security.web.authentication.AuthenticationSuccessHandler
      抛出:
      IOException
      jakarta.servlet.ServletException