This is to support hiveclient in oozie using delegation tokens. Internally delegation token authentication is done using DIGEST-MD5 sasl mechanism. And the parameters are passed using the username, password extracted from delegation token. Also removed hardcoding of service names, which should be ideally read from kerberos principal in case of GSSAPI auth, and specifically set to null in case of DIGEST auth.
This is to support hiveclient in oozie using delegation tokens. Internally delegation token authentication is done using DIGEST-MD5 sasl mechanism. And the parameters are passed using the username, password extracted from delegation token. Also removed hardcoding of service names, which should be ideally read from kerberos principal in case of GSSAPI auth, and specifically set to null in case of DIGEST auth.