Sasl.createSaslClient(
new String[] { AuthMethod.DIGEST.getMechanismName() }, null,
null, SaslRpcServer.SASL_DEFAULT_REALM, SaslRpcServer.SASL_PROPS,
new SaslClientCallbackHandler(token));
else[STATIC_SASL_SYMBOL]*/
SaslPropertiesResolver saslPropsResolver =
SaslPropertiesResolver.getInstance(new Configuration());
saslClient =
Sasl.createSaslClient(
new String[] { AuthMethod.DIGEST.getMechanismName() }, null,
null, SaslRpcServer.SASL_DEFAULT_REALM,
saslPropsResolver.getDefaultProperties(),
new SaslClientCallbackHandler(token));
/*end[STATIC_SASL_SYMBOL]*/
} catch (IOException e) {
LOG.error("SaslNettyClient: Could not obtain job token for Netty " +
"Client to use to authenticate with a Netty Server.");