sign签名认证支持 http服务、dubbo服务、springcloud服务
进入主方法:
@Override
protected Mono<Void> doExecute(final ServerWebExchange exchange, final SoulPluginChain chain, final SelectorData selector, final RuleData rule) {
Pair<Boolean, String> result = signService.signVerify(exchange);
if (!result.getLeft()) {
Object error = SoulResultWrap.error(SoulResultEnum.SIGN_IS_NOT_PASS.getCode(), result.getRight(), null);
return WebFluxResultUtils.result(exchange, error);
}
return chain.execute(exchange);
}
```
未完待续...