From 8f71aca72498c4cfbebebb61f802f94f8d7c0134 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 86e4c6e27ed..1659bcf3751 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