public class UserTokenAuthenticationSupplier extends Object implements AuthenticationSupplier
| Constructor and Description |
|---|
UserTokenAuthenticationSupplier(UserTokenManager userTokenManager,
AuthenticationManager defaultAuthenticationManager) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Authentication> |
get() |
protected Optional<Authentication> |
get(AuthenticationManager authenticationManager,
String userId) |
Optional<Authentication> |
get(String userId) |
protected Optional<Authentication> |
get(ThirdPartAuthenticationManager authenticationManager,
String userId) |
void |
setThirdPartAuthenticationManager(List<ThirdPartAuthenticationManager> thirdPartReactiveAuthenticationManager) |
public UserTokenAuthenticationSupplier(UserTokenManager userTokenManager, AuthenticationManager defaultAuthenticationManager)
@Autowired(required=false) public void setThirdPartAuthenticationManager(List<ThirdPartAuthenticationManager> thirdPartReactiveAuthenticationManager)
public Optional<Authentication> get(String userId)
get in interface AuthenticationSupplierprotected Optional<Authentication> get(ThirdPartAuthenticationManager authenticationManager, String userId)
protected Optional<Authentication> get(AuthenticationManager authenticationManager, String userId)
public Optional<Authentication> get()
get in interface Supplier<Optional<Authentication>>Copyright © 2016–2021. All rights reserved.