Fix Javadoc Typo

NimbusReactiveJwtDecoder incorrectly referred in its class-level doc
as being an implementation of JwtDecoder. This has been corrected to
say ReactiveJwtDecoder.

Fixes: gh-5711
This commit is contained in:
Josh Cummings 2018-08-21 12:21:23 -06:00
parent ec01657625
commit b11e9ed317
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
1 changed files with 10 additions and 9 deletions

View File

@ -15,6 +15,12 @@
*/ */
package org.springframework.security.oauth2.jwt; package org.springframework.security.oauth2.jwt;
import java.security.interfaces.RSAPublicKey;
import java.time.Instant;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import com.nimbusds.jose.JOSEException; import com.nimbusds.jose.JOSEException;
import com.nimbusds.jose.JWSAlgorithm; import com.nimbusds.jose.JWSAlgorithm;
import com.nimbusds.jose.jwk.JWK; import com.nimbusds.jose.jwk.JWK;
@ -32,18 +38,13 @@ import com.nimbusds.jwt.JWTParser;
import com.nimbusds.jwt.SignedJWT; import com.nimbusds.jwt.SignedJWT;
import com.nimbusds.jwt.proc.DefaultJWTProcessor; import com.nimbusds.jwt.proc.DefaultJWTProcessor;
import com.nimbusds.jwt.proc.JWTProcessor; import com.nimbusds.jwt.proc.JWTProcessor;
import org.springframework.security.oauth2.jose.jws.JwsAlgorithms;
import org.springframework.util.Assert;
import reactor.core.publisher.Mono; import reactor.core.publisher.Mono;
import java.security.interfaces.RSAPublicKey; import org.springframework.security.oauth2.jose.jws.JwsAlgorithms;
import java.time.Instant; import org.springframework.util.Assert;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/** /**
* An implementation of a {@link JwtDecoder} that "decodes" a * An implementation of a {@link ReactiveJwtDecoder} that "decodes" a
* JSON Web Token (JWT) and additionally verifies it's digital signature if the JWT is a * JSON Web Token (JWT) and additionally verifies it's digital signature if the JWT is a
* JSON Web Signature (JWS). The public key used for verification is obtained from the * JSON Web Signature (JWS). The public key used for verification is obtained from the
* JSON Web Key (JWK) Set {@code URL} supplied via the constructor. * JSON Web Key (JWK) Set {@code URL} supplied via the constructor.
@ -53,7 +54,7 @@ import java.util.Map;
* *
* @author Rob Winch * @author Rob Winch
* @since 5.1 * @since 5.1
* @see JwtDecoder * @see ReactiveJwtDecoder
* @see <a target="_blank" href="https://tools.ietf.org/html/rfc7519">JSON Web Token (JWT)</a> * @see <a target="_blank" href="https://tools.ietf.org/html/rfc7519">JSON Web Token (JWT)</a>
* @see <a target="_blank" href="https://tools.ietf.org/html/rfc7515">JSON Web Signature (JWS)</a> * @see <a target="_blank" href="https://tools.ietf.org/html/rfc7515">JSON Web Signature (JWS)</a>
* @see <a target="_blank" href="https://tools.ietf.org/html/rfc7517">JSON Web Key (JWK)</a> * @see <a target="_blank" href="https://tools.ietf.org/html/rfc7517">JSON Web Key (JWK)</a>