bbende commented on a change in pull request #4095: NIFI-7018: Initial commit
of processors extending AbstractHadoopProce…
URL: https://github.com/apache/nifi/pull/4095#discussion_r385266765
##########
File path:
nifi-nar-bundles/nifi-extension-utils/nifi-hadoop-utils/src/main/java/org/apache/nifi/hadoop/SecurityUtil.java
##########
@@ -69,6 +79,37 @@ public static synchronized UserGroupInformation
loginKerberos(final Configuratio
return UserGroupInformation.getCurrentUser();
}
+ public static synchronized UserGroupInformation
loginKerberosWithPassword(final Configuration config, final String principal,
final String password) throws IOException {
Review comment:
I think this unused at this point since the KerberoUser's are created
outside and everything goes through getUgiFromKerberosUser, but I'm not against
keeping the method if you want.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services