mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Polish JavaDoc
Issue gh-14521
This commit is contained in:
parent
09010f3f51
commit
c5a4405c54
@ -30,8 +30,9 @@ import org.springframework.util.Assert;
|
||||
|
||||
/**
|
||||
* A {@link ReactiveAuthenticationManager} that delegates to other
|
||||
* {@link ReactiveAuthenticationManager} instances using the result from the first non
|
||||
* empty result. Errors from delegates will be ignored if continueOnError is true.
|
||||
* {@link ReactiveAuthenticationManager} instances. When {@code continueOnError} is
|
||||
* {@code true}, will continue until the first non-empty, non-error result; otherwise,
|
||||
* will continue only until the first non-empty result.
|
||||
*
|
||||
* @author Rob Winch
|
||||
* @since 5.1
|
||||
@ -62,6 +63,11 @@ public class DelegatingReactiveAuthenticationManager implements ReactiveAuthenti
|
||||
return ((this.continueOnError) ? result.concatMapDelayError(logging) : result.concatMap(logging)).next();
|
||||
}
|
||||
|
||||
/**
|
||||
* Continue iterating when a delegate errors, defaults to {@code false}
|
||||
* @param continueOnError whether to continue when a delegate errors
|
||||
* @since 6.3
|
||||
*/
|
||||
public void setContinueOnError(boolean continueOnError) {
|
||||
this.continueOnError = continueOnError;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user