类 OAuth2DeviceVerificationResponseHandler

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

public class OAuth2DeviceVerificationResponseHandler extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler

Description: 设备验证成功后续逻辑处理器

作者:
: gengwei.zheng
Date:
: 2023/5/3 9:35
  • 字段概要

    从类继承的字段 org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

    logger
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

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

    从类继承的方法 org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler

    clearAuthenticationAttributes

    从类继承的方法 org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler

    determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer

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

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

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

    onAuthenticationSuccess
  • 构造器详细资料

    • OAuth2DeviceVerificationResponseHandler

      public OAuth2DeviceVerificationResponseHandler(OAuth2DeviceService deviceService)
  • 方法详细资料

    • 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
      覆盖:
      onAuthenticationSuccess 在类中 org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
      抛出:
      IOException
      jakarta.servlet.ServletException