From 5c1a108b8b711f54507ca303f0c21767b3064303 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Mon, 22 Jul 2024 15:33:36 -0600 Subject: [PATCH] Remove Stray JavaDoc Statement As of the 5.2 release, a separate registrar bean was no longer necessary Closes gh-15425 --- .../function/client/ServletBearerExchangeFilterFunction.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/reactive/function/client/ServletBearerExchangeFilterFunction.java b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/reactive/function/client/ServletBearerExchangeFilterFunction.java index 981bd2c2a16..423eedeb3b6 100644 --- a/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/reactive/function/client/ServletBearerExchangeFilterFunction.java +++ b/oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/web/reactive/function/client/ServletBearerExchangeFilterFunction.java @@ -50,11 +50,6 @@ * To locate the bearer token, this looks in the Reactor {@link Context} for a key of type * {@link Authentication}. * - * Registering - * {@see org.springframework.security.config.annotation.web.configuration.OAuth2ResourceServerConfiguration.OAuth2ResourceServerWebFluxSecurityConfiguration.BearerRequestContextSubscriberRegistrar}, - * as a {@code @Bean} will take care of this automatically, but certainly an application - * can supply a {@link Context} of its own to override. - * * @author Josh Cummings * @since 5.2 */