Esempio n. 1
0
        private static Scoping GetScoping(ServiceProvider serviceProvider)
        {
            Scoping scoping = null;

            if (serviceProvider.ScopingProxyCount > 0)
            {
                scoping = new Scoping();
                ArrayList idpEntry = new ArrayList();
                idpEntry.AddRange(serviceProvider.ScopingIDPList);
                scoping.SetIDPEntry(idpEntry);
            }

            return(scoping);
        }
Esempio n. 2
0
        private static Scoping GetScoping(ServiceProvider serviceProvider)
        {
            Scoping scoping = null;

            if (serviceProvider.IDPProxyEnabled)
            {
                scoping = new Scoping();
                int proxyCount = serviceProvider.IDPProxyCount;
                if (serviceProvider.IDPProxyCount != 0)
                {
                    scoping.ProxyCount = serviceProvider.IDPProxyCount;
                }
                ArrayList idpEntries = serviceProvider.ScopingIDPList;
                if (idpEntries.Count != 0)
                {
                    scoping.SetIDPEntry(idpEntries);
                }
            }

            return(scoping);
        }
Esempio n. 3
0
        private static Scoping GetScoping(ServiceProvider serviceProvider)
        {
            Scoping scoping = null;

            if (serviceProvider.ScopingProxyCount > 0)
            {
                scoping = new Scoping();
                ArrayList idpEntry = new ArrayList();
                idpEntry.AddRange(serviceProvider.ScopingIDPList);
                scoping.SetIDPEntry(idpEntry);
            }

            return scoping;
        }