public class UserTokenAuthenticationSupplier extends Object implements AuthenticationSupplier
| 构造器和说明 |
|---|
UserTokenAuthenticationSupplier(AuthenticationManager defaultAuthenticationManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
Authentication |
get() |
protected Authentication |
get(AuthenticationManager authenticationManager,
String userId) |
Authentication |
get(String userId) |
protected Authentication |
get(ThirdPartAuthenticationManager authenticationManager,
String userId) |
protected UserToken |
getCurrentUserToken() |
void |
setThirdPartAuthenticationManager(List<ThirdPartAuthenticationManager> thirdPartAuthenticationManager) |
public UserTokenAuthenticationSupplier(AuthenticationManager defaultAuthenticationManager)
@Autowired(required=false) public void setThirdPartAuthenticationManager(List<ThirdPartAuthenticationManager> thirdPartAuthenticationManager)
public Authentication get(String userId)
get 在接口中 AuthenticationSupplierprotected Authentication get(ThirdPartAuthenticationManager authenticationManager, String userId)
protected Authentication get(AuthenticationManager authenticationManager, String userId)
protected UserToken getCurrentUserToken()
public Authentication get()
get 在接口中 java.util.function.Supplier<Authentication>Copyright © 2016–2020. All rights reserved.