kirktrue commented on code in PR #19622:
URL: https://github.com/apache/kafka/pull/19622#discussion_r2076512554


##########
clients/src/main/java/org/apache/kafka/common/security/oauthbearer/internals/secured/HttpJwtRetriever.java:
##########
@@ -49,22 +49,22 @@
 import javax.net.ssl.SSLSocketFactory;
 
 /**
- * <code>HttpAccessTokenRetriever</code> is an {@link AccessTokenRetriever} 
that will
+ * <code>HttpJwtRetriever</code> is an {@link JwtRetriever} that will
  * communicate with an OAuth/OIDC provider directly via HTTP to post client 
credentials
  * ({@link OAuthBearerLoginCallbackHandler#CLIENT_ID_CONFIG}/{@link 
OAuthBearerLoginCallbackHandler#CLIENT_SECRET_CONFIG})
  * to a publicized token endpoint URL
  * ({@link SaslConfigs#SASL_OAUTHBEARER_TOKEN_ENDPOINT_URL}).
  *
- * @see AccessTokenRetriever
+ * @see JwtRetriever
  * @see OAuthBearerLoginCallbackHandler#CLIENT_ID_CONFIG
  * @see OAuthBearerLoginCallbackHandler#CLIENT_SECRET_CONFIG
  * @see OAuthBearerLoginCallbackHandler#SCOPE_CONFIG
  * @see SaslConfigs#SASL_OAUTHBEARER_TOKEN_ENDPOINT_URL

Review Comment:
   Removed the `@see` annotations.



##########
clients/src/test/java/org/apache/kafka/common/security/oauthbearer/internals/secured/JwtValidatorFactoryTest.java:
##########
@@ -19,39 +19,42 @@
 
 import org.apache.kafka.common.KafkaException;
 import 
org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginCallbackHandler;
+import org.apache.kafka.common.security.oauthbearer.OAuthBearerLoginModule;
 
 import org.junit.jupiter.api.Test;
 
 import java.io.IOException;
 import java.util.Map;
 
-public class AccessTokenValidatorFactoryTest extends OAuthBearerTest {
+public class JwtValidatorFactoryTest extends OAuthBearerTest {

Review Comment:
   Moved to `OAuthBearerLoginCallbackHandlerTest`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to