Skip to content

Commit e97a335

Browse files
committed
Polish Web Authentication Builders
Issue spring-projectsgh-17861
1 parent e7281a7 commit e97a335

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web/src/main/java/org/springframework/security/web/authentication/preauth/PreAuthenticatedAuthenticationToken.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import org.jspecify.annotations.Nullable;
2222

2323
import org.springframework.security.authentication.AbstractAuthenticationToken;
24-
import org.springframework.security.core.Authentication;
2524
import org.springframework.security.core.GrantedAuthority;
2625
import org.springframework.util.Assert;
2726

@@ -96,7 +95,7 @@ public Builder<?> toBuilder() {
9695
}
9796

9897
/**
99-
* A builder preserving the concrete {@link Authentication} type
98+
* A builder of {@link PreAuthenticatedAuthenticationToken} instances
10099
*
101100
* @since 7.0
102101
*/

0 commit comments

Comments
 (0)