Scenarios attempting to use S.Security.Principal.WindowsIdentity.GetCurrent fail #946
Closed
Description
opened on Mar 30, 2016
We need to spend some time investigating the following security tests on Linux
Fails always:
HttpsTests.ClientCertificate_EchoString [FAIL]
HttpsTests.ServerCertificateValidation_EchoString [FAIL]
Https_ClientCredentialTypeTests.NtlmAuthentication_RoundTrips_Echo [FAIL]
Https_ClientCredentialTypeTests.WindowsAuthentication_RoundTrips_Echo [FAIL]
NegotiateStream_Http_Tests.NegotiateStream_Http_AmbientCredentials [FAIL]
These seem to stem from the following callstack:
Exception: System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.Security.Principal.WindowsIdentity.GetCurrent()
Investigate why using an ambient credential for Windows auth can work in tcp but not for http.
Activity