Javadoc on ProviderManager.authenticate clarification
Fixes gh-3722
This commit is contained in:
parent
db81977a1a
commit
b248eae416
|
@ -136,9 +136,15 @@ public class ProviderManager implements AuthenticationManager, MessageSourceAwar
|
||||||
* attempted with that <code>AuthenticationProvider</code>.
|
* attempted with that <code>AuthenticationProvider</code>.
|
||||||
* <p>
|
* <p>
|
||||||
* If more than one <code>AuthenticationProvider</code> supports the passed
|
* If more than one <code>AuthenticationProvider</code> supports the passed
|
||||||
* <code>Authentication</code> object, only the first
|
* <code>Authentication</code> object, the first one able to successfully
|
||||||
* <code>AuthenticationProvider</code> tried will determine the result. No subsequent
|
* authenticate the <code>Authentication</code> object determines the
|
||||||
* <code>AuthenticationProvider</code>s will be tried.
|
* <code>result</code>, overriding any possible <code>AuthenticationException</code>
|
||||||
|
* thrown by earlier supporting <code>AuthenticationProvider</code>s.
|
||||||
|
* On successful authentication, no subsequent <code>AuthenticationProvider</code>s
|
||||||
|
* will be tried.
|
||||||
|
* If authentication was not successful by any supporting
|
||||||
|
* <code>AuthenticationProvider</code> the last thrown
|
||||||
|
* <code>AuthenticationException</code> will be rethrown.
|
||||||
*
|
*
|
||||||
* @param authentication the authentication request object.
|
* @param authentication the authentication request object.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue