类 UserLoginFailureHandler
java.lang.Object
com.cdkjframework.security.handler.UserLoginFailureHandler
- 所有已实现的接口:
org.springframework.security.web.authentication.AuthenticationFailureHandler
@Component
public class UserLoginFailureHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationFailureHandler
用户登录失败处理程序
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
onAuthenticationFailure
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) 登录失败返回结果
-
构造器详细资料
-
UserLoginFailureHandler
public UserLoginFailureHandler()
-
-
方法详细资料
-
onAuthenticationFailure
public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, jakarta.servlet.ServletException 登录失败返回结果- 指定者:
onAuthenticationFailure
在接口中org.springframework.security.web.authentication.AuthenticationFailureHandler
- 抛出:
IOException
jakarta.servlet.ServletException
-