def __setup_tool_config(self, conf):
        tool_config_files = conf.get("tool_config_files", None)
        if not tool_config_files:
            # For compatibity with Galaxy, allow tool_config_file
            # option name.
            tool_config_files = conf.get("tool_config_file", None)
        toolbox = None
        if tool_config_files:
            toolbox = ToolBox(tool_config_files)
        else:
            log.info(NOT_WHITELIST_WARNING)
        self.toolbox = toolbox
        self.authorizer = get_authorizer(toolbox)
Setups toolbox object and authorization mechanism based
dataset/ETHPy150Open galaxyproject/pulsar/pulsar/core.py/PulsarApp.__setup_tool_config