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
    <binding name="wsHttpEndpointBinding">
*        <message clientCredentialType="UserName" />*

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

Additional Resources

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


No comments yet.