public class AuthSuccessHandler extends Object implements HandleSupport
| 限定符和类型 | 字段和说明 |
|---|---|
protected SecurityService |
securityService |
LOGGER, MAPPER| 构造器和说明 |
|---|
AuthSuccessHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createTokenAddToAllowListAndResponse(UserDetails user)
创建token放入白名单中且加入响应头中
|
UserDetails |
success(org.springframework.security.core.Authentication authentication) |
UserDetails |
success(org.springframework.security.core.Authentication authentication,
boolean createToken) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresponse, response, response, responseprotected final SecurityService securityService
public UserDetails success(org.springframework.security.core.Authentication authentication)
public UserDetails success(org.springframework.security.core.Authentication authentication, boolean createToken)
public void createTokenAddToAllowListAndResponse(UserDetails user)
Copyright © 2022. All rights reserved.