类 FailedAuthenticationEntryPoint
java.lang.Object
com.iplatform.security.FailedAuthenticationEntryPoint
- 所有已实现的接口:
org.springframework.security.web.AuthenticationEntryPoint
public class FailedAuthenticationEntryPoint
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)
-
字段详细资料
-
logger
protected final transient org.slf4j.Logger logger
-
-
构造器详细资料
-
FailedAuthenticationEntryPoint
public FailedAuthenticationEntryPoint()
-
-
方法详细资料
-
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
-