c# - Windows identity creation using WCF -
I have a WCF REST service that came into the server machine as a Windows certified service.
As the service windows is authenticated, I'm able to create the requested user's WindowsIdentity using the API ServiceSecurityContext.Current.WindowsIdentity . Issue: Now I have a client machine that is requesting windows authenticated service, the client machine is logged in as user ClientMachin / Testuser. The same username And with the password, there is another user in the server machine (servermachine / testuser), if the request comes from the client, then serviceaccess content. Present. Indizindenti is identifying the user's windows server machine (servermatch / testseer) instead of ClientMachine / Testuser, which is wrong, but if the password is different, then the windows' condition is alright. Am I doing something wrong in service or is this window behavior? Please help me, thanks in advance. Have you tried using impersonation, decorate your method with this attribute < /> > > <<>
Comments
Post a Comment