You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service contains the following binding configuration in the configuration file.
(Line numbers are included for reference only.)
01 <wsHttpBinding>
02 <binding name=”ssl”>
04 </binding>
05 </wsHttpBinding>
You need to ensure that the following requirements are met:
The service must use transport-level security (SSL via HTTPS). The service must use message-level security to authenticate client applications by using user name and password. Which configuration setting should you insert at line 03?
A.
<security mode=”Message”>
<message clientCredentialType=”UserName”/>
</security>
B.
<security mode=”TransportWithMessageCredential”>
<message clientCredentialType=”UserName”/>
</security>
C.
<security mode=”Transport”>
<transport clientCredentialType=”Windows”/>
<message clientCredentialType=”UserName”/>
</security>
D.
<security mode=”Message” >
<transport clientCredentialType=”Windows” />
<message clientCredentialType=”UserName” />
</security>