protected function setDefaultLists(FirewallInterface $firewall, array $lists)
    {
        foreach ($lists as $listName => $state) {
            if (isset($this->lists[$listName])) {
                $list = $this->lists[$listName];
                $firewall->addList($list, $listName, $state);
            } else {
                throw new \Exception(sprintf('Firewall list "%s" not found.', $listName));
            }
        }

        return $this;
    }