类 MyUnAuthenticationEntryPoint
java.lang.Object
com.codingapi.springboot.security.filter.MyUnAuthenticationEntryPoint
- 所有已实现的接口:
org.springframework.security.web.AuthenticationEntryPoint
public class MyUnAuthenticationEntryPoint
extends Object
implements org.springframework.security.web.AuthenticationEntryPoint
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcommence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)
-
构造器详细资料
-
MyUnAuthenticationEntryPoint
public MyUnAuthenticationEntryPoint()
-
-
方法详细资料
-
commence
public void commence(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, jakarta.servlet.ServletException - 指定者:
commence在接口中org.springframework.security.web.AuthenticationEntryPoint- 抛出:
IOExceptionjakarta.servlet.ServletException
-