Author: kent.zhou | Posted on: 7/27/2010 12:32:52 PM | Views : 406

My senario:
WebApp1: on IIS and configured with Windows authentication. Get User account from AD.
WebAPP2: a java web app on another windows box in same domain with authentication from AD

On web app1, I have a http handler like
public class MyHandler : IHttpHandler
    {
        public void ProcessRequest(HttpContext context)
        {
        string url = "http://WebApp2/Test";

            HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(url);
            CredentialCache myCache = new CredentialCache();   
      
            NetworkCredential netCredential = new NetworkCredential(&qu ...

Go to the complete details ...