Make JwtReactiveAuthenticationManager final

This commit is contained in:
Josh Cummings 2018-09-06 13:46:18 -06:00
parent 057587ef29
commit 65c81ce952
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
1 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,8 @@
package org.springframework.security.oauth2.server.resource.authentication;
import reactor.core.publisher.Mono;
import org.springframework.http.HttpStatus;
import org.springframework.security.authentication.ReactiveAuthenticationManager;
import org.springframework.security.core.Authentication;
@ -27,7 +29,6 @@ import org.springframework.security.oauth2.server.resource.BearerTokenAuthentica
import org.springframework.security.oauth2.server.resource.BearerTokenError;
import org.springframework.security.oauth2.server.resource.BearerTokenErrorCodes;
import org.springframework.util.Assert;
import reactor.core.publisher.Mono;
/**
* A {@link ReactiveAuthenticationManager} for Jwt tokens.
@ -35,7 +36,7 @@ import reactor.core.publisher.Mono;
* @author Rob Winch
* @since 5.1
*/
public class JwtReactiveAuthenticationManager implements ReactiveAuthenticationManager {
public final class JwtReactiveAuthenticationManager implements ReactiveAuthenticationManager {
private final JwtAuthenticationConverter jwtAuthenticationConverter = new JwtAuthenticationConverter();
private final ReactiveJwtDecoder jwtDecoder;