mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2024-12-23 05:00:25 +08:00
feat:版本
This commit is contained in:
parent
aff6a82dbf
commit
d8c7679d40
@ -35,6 +35,7 @@ public class AuthorizationManager implements ReactiveAuthorizationManager<Author
|
||||
|
||||
@Override
|
||||
public Mono<AuthorizationDecision> check(Mono<Authentication> mono, AuthorizationContext authorizationContext) {
|
||||
|
||||
ServerHttpRequest request = authorizationContext.getExchange().getRequest();
|
||||
String path = request.getURI().getPath();
|
||||
PathMatcher pathMatcher = new AntPathMatcher();
|
||||
|
Loading…
Reference in New Issue
Block a user