Skip to content

Commit 8f71aca

Browse files
Ali-Hassan33jzheaux
authored andcommitted
Update AuthenticationProvider JavaDoc
Authentication is an interface, not a class. So, it's not correct to say "instance of the Authentication class".
1 parent b60e037 commit 8f71aca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/main/java/org/springframework/security/authentication/AuthenticationProvider.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public interface AuthenticationProvider {
4747
* <p>
4848
* Returning <code>true</code> does not guarantee an
4949
* <code>AuthenticationProvider</code> will be able to authenticate the presented
50-
* instance of the <code>Authentication</code> class. It simply indicates it can
51-
* support closer evaluation of it. An <code>AuthenticationProvider</code> can still
52-
* return <code>null</code> from the {@link #authenticate(Authentication)} method to
53-
* indicate another <code>AuthenticationProvider</code> should be tried.
50+
* <code>Authentication</code> object. It simply indicates it can support closer
51+
* evaluation of it. An <code>AuthenticationProvider</code> can still return
52+
* <code>null</code> from the {@link #authenticate(Authentication)} method to indicate
53+
* another <code>AuthenticationProvider</code> should be tried.
5454
* </p>
5555
* <p>
5656
* Selection of an <code>AuthenticationProvider</code> capable of performing

0 commit comments

Comments
 (0)