Core WCF, ServiceSecurityContext.Current.WindowsIdentity is null

Viewed 19

I am migrating code to .net6. I have a WCF server implemented as a Windows Service which uses ServiceSecurityContext.Current.WindowsIdentity to get the caller identity.

I am using CoreWCF for migration and I used ServiceAuthorizationManager to populate ServiceSecurityContext but I dont get Windows Identity or Authentication type like NLTM or Kerberos.

Anyone have any sample code which can help me to get the identity ? Please help.

0 Answers
Related