mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Update AuthenticationProvider JavaDoc
Authentication is an interface, not a class. So, it's not correct to say "instance of the Authentication class".
This commit is contained in:
parent
3f11622687
commit
04799c5aac
@ -47,10 +47,10 @@ public interface AuthenticationProvider {
|
||||
* <p>
|
||||
* Returning <code>true</code> does not guarantee an
|
||||
* <code>AuthenticationProvider</code> will be able to authenticate the presented
|
||||
* instance of the <code>Authentication</code> class. It simply indicates it can
|
||||
* support closer evaluation of it. An <code>AuthenticationProvider</code> can still
|
||||
* return <code>null</code> from the {@link #authenticate(Authentication)} method to
|
||||
* indicate another <code>AuthenticationProvider</code> should be tried.
|
||||
* <code>Authentication</code> object. It simply indicates it can support closer
|
||||
* evaluation of it. An <code>AuthenticationProvider</code> can still return
|
||||
* <code>null</code> from the {@link #authenticate(Authentication)} method to indicate
|
||||
* another <code>AuthenticationProvider</code> should be tried.
|
||||
* </p>
|
||||
* <p>
|
||||
* Selection of an <code>AuthenticationProvider</code> capable of performing
|
||||
|
Loading…
x
Reference in New Issue
Block a user