public static function getFirewallNames(Container $container)
    {
        $names = [];
        foreach ($container->getServiceIds() as $serviceId) {
            if ('security.firewall.map.context.' === substr($serviceId, 0, 30)) {
                $names[] = substr($serviceId, 30);
            }
        }

        return $names;
    }