public class AuthSuccessHandler extends Object implements HandleSupport
| 限定符和类型 | 字段和说明 |
|---|---|
protected SecurityService |
securityService |
LOGGER, MAPPER| 构造器和说明 |
|---|
AuthSuccessHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
createTokenAddToAllowListAndResponse(UserDetailsSupport user)
创建token放入白名单中且加入响应头中
|
UserDetailsSupport |
success(org.springframework.security.core.Authentication authentication) |
UserDetailsSupport |
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 UserDetailsSupport success(org.springframework.security.core.Authentication authentication)
public UserDetailsSupport success(org.springframework.security.core.Authentication authentication, boolean createToken)
public String createTokenAddToAllowListAndResponse(UserDetailsSupport user)
Copyright © 2023. All rights reserved.