diff --git a/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java b/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java index 018167c579..0f6688659b 100644 --- a/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java +++ b/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java @@ -2223,7 +2223,7 @@ public class ServerHttpSecurity { /** * Builds the {@link SecurityWebFilterChain} - * @return the {@link SecurityWebFilterChain + * @return the {@link SecurityWebFilterChain} */ public SecurityWebFilterChain build() { if (this.built != null) { diff --git a/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/JwtTimestampValidator.java b/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/JwtTimestampValidator.java index aa71815638..1c8356851b 100644 --- a/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/JwtTimestampValidator.java +++ b/oauth2/oauth2-jose/src/main/java/org/springframework/security/oauth2/jwt/JwtTimestampValidator.java @@ -24,11 +24,10 @@ import org.springframework.security.oauth2.core.OAuth2Error; import org.springframework.security.oauth2.core.OAuth2ErrorCodes; import org.springframework.security.oauth2.core.OAuth2TokenValidator; import org.springframework.security.oauth2.core.OAuth2TokenValidatorResult; -import org.springframework.security.oauth2.jwt.Jwt; import org.springframework.util.Assert; /** - * An implementation of {@see OAuth2TokenValidator} for verifying claims in a Jwt-based access token + * An implementation of {@link OAuth2TokenValidator} for verifying claims in a Jwt-based access token * *
* Because clocks can differ between the Jwt source, say the Authorization Server, and its destination, say the diff --git a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtAuthenticationProvider.java b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtAuthenticationProvider.java index cc4e10875c..35bcfc1b3a 100644 --- a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtAuthenticationProvider.java +++ b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/JwtAuthenticationProvider.java @@ -41,7 +41,7 @@ import org.springframework.util.Assert; *
*
* This {@link AuthenticationProvider} is responsible for decoding and verifying a {@link Jwt}-encoded access token, - * returning its claims set as part of the {@see Authentication} statement. + * returning its claims set as part of the {@link Authentication} statement. *
*
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm: diff --git a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/OAuth2IntrospectionAuthenticationProvider.java b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/OAuth2IntrospectionAuthenticationProvider.java index 36b7f8ecba..19f78ad040 100644 --- a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/OAuth2IntrospectionAuthenticationProvider.java +++ b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/OAuth2IntrospectionAuthenticationProvider.java @@ -51,7 +51,7 @@ import static org.springframework.security.oauth2.server.resource.introspection. * to check the token's validity and reveal its attributes. *
* This {@link AuthenticationProvider} is responsible for introspecting and verifying an opaque access token, - * returning its attributes set as part of the {@see Authentication} statement. + * returning its attributes set as part of the {@link Authentication} statement. *
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm: *
* This {@link ReactiveAuthenticationManager} is responsible for introspecting and verifying an opaque access token, - * returning its attributes set as part of the {@see Authentication} statement. + * returning its attributes set as part of the {@link Authentication} statement. *
* Scopes are translated into {@link GrantedAuthority}s according to the following algorithm: *
AuthenticationException
* @param response so that the user agent can begin authentication
diff --git a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/access/BearerTokenAccessDeniedHandler.java b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/access/BearerTokenAccessDeniedHandler.java
index 620aa64027..2ac06bdb84 100644
--- a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/access/BearerTokenAccessDeniedHandler.java
+++ b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/access/BearerTokenAccessDeniedHandler.java
@@ -49,7 +49,7 @@ public final class BearerTokenAccessDeniedHandler implements AccessDeniedHandler
/**
* Collect error details from the provided parameters and format according to
- * RFC 6750, specifically {@code error}, {@code error_description}, {@code error_uri}, and {@scope scope}.
+ * RFC 6750, specifically {@code error}, {@code error_description}, {@code error_uri}, and {@code scope}.
*
* @param request that resulted in an AccessDeniedException
* @param response so that the user agent can be advised of the failure
diff --git a/web/src/main/java/org/springframework/security/web/header/writers/HstsHeaderWriter.java b/web/src/main/java/org/springframework/security/web/header/writers/HstsHeaderWriter.java
index 2e8d9c2075..15c06a4543 100644
--- a/web/src/main/java/org/springframework/security/web/header/writers/HstsHeaderWriter.java
+++ b/web/src/main/java/org/springframework/security/web/header/writers/HstsHeaderWriter.java
@@ -238,7 +238,7 @@ public final class HstsHeaderWriter implements HeaderWriter {
*
* @param preload true to include preload, else false
* @since 5.2.0
- * @autor Ankur Pathak
+ * @author Ankur Pathak
*/
public void setPreload(boolean preload) {
this.preload = preload;