public class FormLoginAuthenticationFailureHandler
extends org.springframework.security.web.authentication.ExceptionMappingAuthenticationFailureHandler
Description : 表单登录失败处理器
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ERROR_MESSAGE_KEY |
| 构造器和说明 |
|---|
FormLoginAuthenticationFailureHandler(SecurityProperties securityProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
AuthenticationException e) |
setExceptionMappingspublic FormLoginAuthenticationFailureHandler(SecurityProperties securityProperties)
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
AuthenticationException e)
throws IOException,
javax.servlet.ServletException
onAuthenticationFailure 在接口中 org.springframework.security.web.authentication.AuthenticationFailureHandleronAuthenticationFailure 在类中 org.springframework.security.web.authentication.ExceptionMappingAuthenticationFailureHandlerIOExceptionjavax.servlet.ServletExceptionCopyright © 2022. All rights reserved.