parent
520e0a5a68
commit
9cf0dc6b38
|
@ -36,8 +36,8 @@ public class ServerHttpBasicAuthenticationConverter implements Function<ServerWe
|
||||||
public static final String BASIC = "Basic ";
|
public static final String BASIC = "Basic ";
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Mono<Authentication> apply(ServerWebExchange serverWebExchange) {
|
public Mono<Authentication> apply(ServerWebExchange webExchange) {
|
||||||
ServerHttpRequest request = serverWebExchange.getRequest();
|
ServerHttpRequest request = webExchange.getRequest();
|
||||||
|
|
||||||
String authorization = request.getHeaders().getFirst(HttpHeaders.AUTHORIZATION);
|
String authorization = request.getHeaders().getFirst(HttpHeaders.AUTHORIZATION);
|
||||||
if(authorization == null) {
|
if(authorization == null) {
|
||||||
|
|
Loading…
Reference in New Issue