mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
serverWebExchange->webExchange
Issue: gh-4822
This commit is contained in:
parent
520e0a5a68
commit
9cf0dc6b38
@ -36,8 +36,8 @@ public class ServerHttpBasicAuthenticationConverter implements Function<ServerWe
|
||||
public static final String BASIC = "Basic ";
|
||||
|
||||
@Override
|
||||
public Mono<Authentication> apply(ServerWebExchange serverWebExchange) {
|
||||
ServerHttpRequest request = serverWebExchange.getRequest();
|
||||
public Mono<Authentication> apply(ServerWebExchange webExchange) {
|
||||
ServerHttpRequest request = webExchange.getRequest();
|
||||
|
||||
String authorization = request.getHeaders().getFirst(HttpHeaders.AUTHORIZATION);
|
||||
if(authorization == null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user