From e97a335edced3c0fdebae0b0e9f27d3050a19f3a Mon Sep 17 00:00:00 2001 From: Josh Cummings <3627351+jzheaux@users.noreply.github.com> Date: Tue, 9 Sep 2025 14:06:41 -0600 Subject: [PATCH] Polish Web Authentication Builders Issue gh-17861 --- .../preauth/PreAuthenticatedAuthenticationToken.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedAuthenticationToken.java b/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedAuthenticationToken.java index fef86d08ff..e7d75c3206 100755 --- a/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedAuthenticationToken.java +++ b/web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedAuthenticationToken.java @@ -21,7 +21,6 @@ import java.util.Collection; import org.jspecify.annotations.Nullable; import org.springframework.security.authentication.AbstractAuthenticationToken; -import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import org.springframework.util.Assert; @@ -96,7 +95,7 @@ public class PreAuthenticatedAuthenticationToken extends AbstractAuthenticationT } /** - * A builder preserving the concrete {@link Authentication} type + * A builder of {@link PreAuthenticatedAuthenticationToken} instances * * @since 7.0 */