WCF Service Impersonation (Part – 31)

Impersonation is nothing but validating if the client is authorized to request service.
In this case, you can impersonate the client request authorize to access the service.

Impersonation has 3 levels of settings.

  • Allowed : It automatically impersonates the client whenever Windows authentication is used, but it has no effect with other authentication mechanisms.
  • Not allowed : This indicates the service should not auto Impersonate
  • Required : It ensures windows authentication is used else throw exception

Impersonate all operations:
Impersonation can be allowed for all operation of the service by setting the service Authorization in service behavior section in app.config as shown below.

© 2015, www.techkatak.com. All rights reserved.

One thought on “WCF Service Impersonation (Part – 31)

Comments are closed.