Class OidcClientRegistrationResponseHandler

java.lang.Object
cn.herodotus.engine.oauth2.management.response.OidcClientRegistrationResponseHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler

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

Description: 客户端自动注册成功后续逻辑处理器

Author:
: gengwei.zheng
Date:
: 2023/5/23 17:37
  • Constructor Details

    • OidcClientRegistrationResponseHandler

      public OidcClientRegistrationResponseHandler(OAuth2DeviceService deviceService)
  • Method Details

    • 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
      Specified by:
      onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
      Throws:
      IOException
      jakarta.servlet.ServletException