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); }
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); }
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; }