static void safeDispose(SaslClient saslClient) {
    try {
      saslClient.dispose();
    } catch (SaslException e) {
      LOG.error("Error disposing of SASL client", e);
    }
  }
Initialize SASL properties for a given RPC protection level.
@param rpcProtection Value of 'hbase.rpc.protection' configuration.
@return Map with values for SASL properties.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslUtil.java