@Order(value=100) public class DefaultReactiveAuthenticationManager extends Object implements ReactiveAuthenticationManagerProvider
| Constructor and Description |
|---|
DefaultReactiveAuthenticationManager() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Authentication> |
authenticate(reactor.core.publisher.Mono<AuthenticationRequest> request)
进行授权操作
|
reactor.core.publisher.Mono<Authentication> |
getByUserId(String userId)
根据用户ID获取权限信息
|
void |
handleClearAuthCache(ClearUserAuthorizationCacheEvent event) |
public DefaultReactiveAuthenticationManager()
@EventListener public void handleClearAuthCache(ClearUserAuthorizationCacheEvent event)
public reactor.core.publisher.Mono<Authentication> authenticate(reactor.core.publisher.Mono<AuthenticationRequest> request)
ReactiveAuthenticationManagerProviderauthenticate in interface ReactiveAuthenticationManagerProviderrequest - 授权请求public reactor.core.publisher.Mono<Authentication> getByUserId(String userId)
ReactiveAuthenticationManagerProvidergetByUserId in interface ReactiveAuthenticationManagerProvideruserId - 用户IDCopyright © 2016–2021. All rights reserved.