Skip to content

Commit 4aa0abc

Browse files
authored
Update the documentation of AuthenticationProvider.java
"Authentication" is an interface, not a class. So, It's not correct to say 'instance of the Authentication class.
1 parent 7d72e40 commit 4aa0abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ 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
50+
* <code>Authentication</code> object. It simply indicates it can
5151
* support closer evaluation of it. An <code>AuthenticationProvider</code> can still
5252
* return <code>null</code> from the {@link #authenticate(Authentication)} method to
5353
* indicate another <code>AuthenticationProvider</code> should be tried.

0 commit comments

Comments
 (0)