mneethiraj commented on code in PR #849:
URL: https://github.com/apache/ranger/pull/849#discussion_r2796004652
##########
agents-common/src/main/java/org/apache/ranger/admin/client/AbstractRangerAdminClient.java:
##########
@@ -127,12 +131,21 @@ public ServiceGdsInfo getGdsInfoIfUpdated(long
lastKnownVersion, long lastActiva
return null;
}
+ public boolean isAuthenticationEnabled() {
Review Comment:
`isAuthenticationEnabled()` should also consider if username/password or jwt
authN is specified in the configuration. This detail is handled by
`RangerRESTClient`, which is available only in the derived class
`RangerAdminRESTClient`. I suggest `RangerAdminRESTClient` to override
`isAuthenticationEnabled()` to handle this case.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]