Re: Trying to Authenticate to MS Exchange 2003

2008-01-11 Thread Oleg Kalnichevski
On Thu, 2008-01-10 at 16:06 -0500, Michael Prichard wrote: Okfigured this one out. Add this: // Sets whether authentication should be attempted preemptively. client.getParams().setAuthenticationPreemptive( true ); And it seems to work perfectly. No idea

Re: Trying to Authenticate to MS Exchange 2003

2008-01-11 Thread Michael Prichard
Ok, so this is the header I get from the server when initializing: 2008/01/11 09:38:14:292 EST [DEBUG] header - User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n] 2008/01/11 09:38:14:292 EST [DEBUG] header - Host: mail.exchange.com[\r][\n] 2008/01/11 09:38:14:292 EST [DEBUG] header -

Re: Trying to Authenticate to MS Exchange 2003

2008-01-11 Thread Michael Prichard
Ooops...I did not fully read the first message. Sorry. The interesting thing is that when using the browser to hit that server it does not give me a form based login screen like other exchange servers. It pops up a window..very much like you see when you set up a .htaccess with BASIC

Re: Trying to Authenticate to MS Exchange 2003

2008-01-11 Thread Michael Prichard
What does this mean? Does it mean the username and password are being sent on an open wire? On Jan 11, 2008, at 9:12 AM, Oleg Kalnichevski wrote: On Fri, 2008-01-11 at 09:06 -0500, Michael Prichard wrote: Yes, I got this to work by adding this: // Sets whether

Re: Trying to Authenticate to MS Exchange 2003

2008-01-11 Thread Oleg Kalnichevski
On Fri, 2008-01-11 at 09:36 -0500, Michael Prichard wrote: Ooops...I did not fully read the first message. Sorry. The interesting thing is that when using the browser to hit that server it does not give me a form based login screen like other exchange servers. It pops up a

Re: Trying to Authenticate to MS Exchange 2003

2008-01-10 Thread Michael Prichard
Okfigured this one out. Add this: // Sets whether authentication should be attempted preemptively. client.getParams().setAuthenticationPreemptive( true ); And it seems to work perfectly. No idea why! Anyone? Thx. On Jan 10, 2008, at 3:22 PM, Michael