Browse Source

Merge branch '6.1.x' into 6.2.x

pull/14798/head
Josh Cummings 2 years ago
parent
commit
c439cfef0f
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
  1. 4
      web/src/main/java/org/springframework/security/web/server/authentication/AuthenticationWebFilter.java

4
web/src/main/java/org/springframework/security/web/server/authentication/AuthenticationWebFilter.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2020 the original author or authors. * Copyright 2002-2024 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -125,7 +125,7 @@ public class AuthenticationWebFilter implements WebFilter {
.flatMap( .flatMap(
(authentication) -> onAuthenticationSuccess(authentication, new WebFilterExchange(exchange, chain))) (authentication) -> onAuthenticationSuccess(authentication, new WebFilterExchange(exchange, chain)))
.doOnError(AuthenticationException.class, .doOnError(AuthenticationException.class,
(ex) -> logger.debug(LogMessage.format("Authentication failed: %s", ex.getMessage()))); (ex) -> logger.debug(LogMessage.format("Authentication failed: %s", ex.getMessage()), ex));
} }
protected Mono<Void> onAuthenticationSuccess(Authentication authentication, WebFilterExchange webFilterExchange) { protected Mono<Void> onAuthenticationSuccess(Authentication authentication, WebFilterExchange webFilterExchange) {

Loading…
Cancel
Save