类 CustomBearerTokenAuthenticationEntryPoint

java.lang.Object
com.elitesland.ystdms.sys.security.CustomBearerTokenAuthenticationEntryPoint
所有已实现的接口:
org.springframework.security.web.AuthenticationEntryPoint

public class CustomBearerTokenAuthenticationEntryPoint extends Object implements org.springframework.security.web.AuthenticationEntryPoint
自定义JWT认证失败处理
  • 构造器详细资料

    • CustomBearerTokenAuthenticationEntryPoint

      public CustomBearerTokenAuthenticationEntryPoint()
  • 方法详细资料

    • commence

      public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException
      指定者:
      commence 在接口中 org.springframework.security.web.AuthenticationEntryPoint
      抛出:
      IOException