public void setAllowedProxies(final Iterable<String> allowedProxies) {
        final List<String[]> proxyChains = new ArrayList<>();
        for (final String allowedProxyChain : allowedProxies) {
            final String[] proxyChain = new String[1];
            proxyChain[0] = allowedProxyChain;
            proxyChains.add(proxyChain);
        }
        this.allowedProxyChains = new ProxyList(proxyChains);
    }
<p>setAllowedProxies.</p>

@param allowedProxies a {@link List} object
pac4j-cas/src/main/java/org/pac4j/cas/config/CasConfiguration.java