forked from rongchao/epmet-cloud-rizhao
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
466 B
22 lines
466 B
5 years ago
|
package com.epmet.auth;
|
||
|
|
||
|
import org.springframework.cloud.gateway.filter.GatewayFilterChain;
|
||
|
import org.springframework.stereotype.Component;
|
||
|
import org.springframework.web.server.ServerWebExchange;
|
||
|
import reactor.core.publisher.Mono;
|
||
|
|
||
|
/**
|
||
|
* 外部应用认证
|
||
|
*/
|
||
|
@Component
|
||
|
public class ExternalAuthProcessor extends AuthProcessor {
|
||
|
|
||
|
@Override
|
||
|
public Mono<Void> auth(ServerWebExchange exchange, GatewayFilterChain chain) {
|
||
|
|
||
|
|
||
|
|
||
|
return null;
|
||
|
}
|
||
|
}
|