Skip to content

Scenarios attempting to use S.Security.Principal.WindowsIdentity.GetCurrent fail #946

Closed
@iamjasonp

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugThis is a product bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions