This project is read-only.

How to authenticate users against Active Directory without windows authentication

J.D. Meier, Jason Taylor, Prashant Bansode, Carlos Farre, Madhu Sundararajan, Steve Gregersen.

Use UserName authentication to authenticate users against Active Directory when you cannot use Windows Authentication. UserName authentication will by default map your user’s credentials to Windows account and authenticates the users against AD.

The following code snippet configures a WCF service to use the Username Authentication
…
<bindings>
  <wsHttpBinding>
    <binding name="wsHttpEndpointBinding">
      <security>
*        <message clientCredentialType="UserName" />*
      </security>
    </binding>
  </wsHttpBinding>
</bindings>
…

Note: Use message security to protect user credentials passed over the network.

Additional Resources

Last edited May 8, 2008 at 1:00 AM by prashantbansode, version 1

Comments

No comments yet.