public interface LoginValidateProvider
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
validate(org.springframework.security.core.Authentication authentication,
org.springframework.security.core.userdetails.UserDetails user)
扩展登陆验证(与现有账户信息数据相关)
|
default void |
validate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password)
扩展登陆验证
|
default void validate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password)
throws org.springframework.security.core.AuthenticationException
password - 前端传递的密码username - 前端传递的帐号request - 请求response - 响应org.springframework.security.core.AuthenticationException - 登陆失败异常default void validate(org.springframework.security.core.Authentication authentication,
org.springframework.security.core.userdetails.UserDetails user)
throws org.springframework.security.core.AuthenticationException
authentication - 账户权限信息user - 账户信息org.springframework.security.core.AuthenticationException - 登陆失败异常Copyright © 2022. All rights reserved.