You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/main/java/org/springframework/security/authentication/DelegatingReactiveAuthenticationManager.java
+18-7Lines changed: 18 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2018 the original author or authors.
2
+
* Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -18,7 +18,10 @@
18
18
19
19
importjava.util.Arrays;
20
20
importjava.util.List;
21
+
importjava.util.function.Function;
21
22
23
+
importorg.apache.commons.logging.Log;
24
+
importorg.apache.commons.logging.LogFactory;
22
25
importreactor.core.publisher.Flux;
23
26
importreactor.core.publisher.Mono;
24
27
@@ -28,7 +31,7 @@
28
31
/**
29
32
* A {@link ReactiveAuthenticationManager} that delegates to other
30
33
* {@link ReactiveAuthenticationManager} instances using the result from the first non
31
-
* empty result.
34
+
* empty result. Errors from delegates will be ignored if continueOnError is true.
32
35
*
33
36
* @author Rob Winch
34
37
* @since 5.1
@@ -37,6 +40,10 @@ public class DelegatingReactiveAuthenticationManager implements ReactiveAuthenti
Copy file name to clipboardExpand all lines: core/src/test/java/org/springframework/security/authentication/DelegatingReactiveAuthenticationManagerTests.java
+40-1Lines changed: 40 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2018 the original author or authors.
2
+
* Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -77,4 +77,43 @@ public void authenticateWhenBadCredentialsThenDelegate2NotInvokedAndError() {
0 commit comments