Skip to content

Commit 65bb455

Browse files
committed
Update SsoAdminClient.cs
1 parent dacab6a commit 65bb455

File tree

1 file changed

+9
-9
lines changed
  • Modules/VMware.vSphere.SsoAdmin/src/VMware.vSphere.SsoAdmin.Client/VMware.vSphere.SsoAdminClient

1 file changed

+9
-9
lines changed

Modules/VMware.vSphere.SsoAdmin/src/VMware.vSphere.SsoAdmin.Client/VMware.vSphere.SsoAdminClient/SsoAdminClient.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,15 +1302,15 @@ public IEnumerable<IdentitySource> GetDomains()
13021302
extIdentitySource.FailoverUrl = externalDomain.details?.failoverUrl;
13031303
extIdentitySource.GroupBaseDN = externalDomain.details?.groupBaseDn;
13041304
extIdentitySource.UserBaseDN = externalDomain.details?.userBaseDn;
1305-
if (externalDomain.details?.certificates != null && externalDomain.details?.certificates.Length > 0)
1306-
{
1307-
var certificatesList = new List<X509Certificate2>();
1308-
foreach (var cert in externalDomain.details?.certificates)
1309-
{
1310-
certificatesList.Add(new X509Certificate2(Encoding.ASCII.GetBytes(cert)));
1311-
}
1312-
extIdentitySource.Certificates = certificatesList.ToArray();
1313-
}
1305+
//if (externalDomain.details?.certificates != null && externalDomain.details?.certificates.Length > 0)
1306+
//{
1307+
// var certificatesList = new List<X509Certificate2>();
1308+
// foreach (var cert in externalDomain.details?.certificates)
1309+
// {
1310+
// certificatesList.Add(new X509Certificate2(Encoding.ASCII.GetBytes(cert)));
1311+
// }
1312+
// extIdentitySource.Certificates = certificatesList.ToArray();
1313+
//}
13141314

13151315
yield return extIdentitySource;
13161316
}

0 commit comments

Comments
 (0)