已弃用的 BasicAuthorizationInterceptor 的替代品是什么?

LEV*_*VEL 8 java spring oauth-2.0 spring-framework-beans

我正在使用新的 BasicAuthorizationInterceptor 在 oauth2.0 中进行基本身份验证。我找不到已弃用的 BasicAuthorizationInterceptor 的替代品。请帮我解决一下

Mar*_* P. 5

使用BasicAuthenticationInterceptor对我有用。