PrepAway - Latest Free Exam Questions & Answers

You need to ensure that the service accesses these resources on behalf of the originating caller

You are developing a Windows Communication Foundation (WCF) service. The service
needs to access out-of-process resources. You need to ensure that the service accesses
these resources on behalf of the originating caller. What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the PrincipalPermissionAttribute on the service contract and update the binding
attribute in the endpoint element of the configuration file to wsHttpBinding.

B.
Set the PrincipalPermissionAttribute on the service contract and update the
bindingConfiguration attribute in the endpoint element of the configuration file to
wsHttpBinding.

C.
Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to
TokenImpersonationLevel.Impersonation.

D.
Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to
TokenImpersonationLevel.Delegation.


Leave a Reply