From 04799c5aacb021236252db130f5d8a2d4265285d Mon Sep 17 00:00:00 2001 From: Ali-Hassan <101888551+Ali-Hassan33@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:19:11 +0500 Subject: [PATCH] Update AuthenticationProvider JavaDoc Authentication is an interface, not a class. So, it's not correct to say "instance of the Authentication class". --- .../security/authentication/AuthenticationProvider.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/org/springframework/security/authentication/AuthenticationProvider.java b/core/src/main/java/org/springframework/security/authentication/AuthenticationProvider.java index 86e4c6e27e..1659bcf375 100644 --- a/core/src/main/java/org/springframework/security/authentication/AuthenticationProvider.java +++ b/core/src/main/java/org/springframework/security/authentication/AuthenticationProvider.java @@ -47,10 +47,10 @@ public interface AuthenticationProvider { *

* Returning true does not guarantee an * AuthenticationProvider will be able to authenticate the presented - * instance of the Authentication class. It simply indicates it can - * support closer evaluation of it. An AuthenticationProvider can still - * return null from the {@link #authenticate(Authentication)} method to - * indicate another AuthenticationProvider should be tried. + * Authentication object. It simply indicates it can support closer + * evaluation of it. An AuthenticationProvider can still return + * null from the {@link #authenticate(Authentication)} method to indicate + * another AuthenticationProvider should be tried. *

*

* Selection of an AuthenticationProvider capable of performing