Browse Source

Fix javadoc

Eddú Meléndez 6 years ago
parent
commit
50adb6abcb

+ 1 - 1
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) {

+ 1 - 2
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
  *
  * <p>
  * Because clocks can differ between the Jwt source, say the Authorization Server, and its destination, say the

+ 1 - 1
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;
  * <p>
  * <p>
  * 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.
  * <p>
  * <p>
  * Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:

+ 1 - 1
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.
  * <p>
  * 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.
  * <p>
  * Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
  * <ol>

+ 1 - 1
oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication/OAuth2IntrospectionReactiveAuthenticationManager.java

@@ -52,7 +52,7 @@ import static org.springframework.security.oauth2.server.resource.introspection.
  * to check the token's validity and reveal its attributes.
  * <p>
  * 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.
  * <p>
  * Scopes are translated into {@link GrantedAuthority}s according to the following algorithm:
  * <ol>

+ 1 - 1
oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/BearerTokenAuthenticationEntryPoint.java

@@ -52,7 +52,7 @@ public final class BearerTokenAuthenticationEntryPoint implements Authentication
 
 	/**
 	 * 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 <code>AuthenticationException</code>
 	 * @param response so that the user agent can begin authentication

+ 1 - 1
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 <code>AccessDeniedException</code>
 	 * @param response so that the user agent can be advised of the failure

+ 1 - 1
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;