Skip to content

Commit

Permalink
Update AuthenticationProvider JavaDoc
Browse files Browse the repository at this point in the history
Authentication is an interface, not a class. So, it's not correct
to say "instance of the Authentication class".
  • Loading branch information
Ali-Hassan33 authored and jzheaux committed Mar 22, 2024
1 parent 3f11622 commit 04799c5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04799c5

Please sign in to comment.