On Wed, 2006-11-01 at 08:38 -0800, Jeff Ling wrote:
> Hi Oleg,
> 
> I found out this was an Axis2 bug. Axis2 sets the credentialProvider, that's
> why the "promptForCredential()" didn't return null, and keeps going in a
> loop.
> 
> Thanks!
> 
> Jeff
> 

Jeff,

As far as I know this problem should have been fixed in the coming Axis2
1.1 release

http://www.mail-archive.com/httpclient-dev%
40jakarta.apache.org/msg04464.html

Oleg


> On 11/1/06, Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:
> >
> > On Tue, 2006-10-31 at 18:38 -0800, Jeff Ling wrote:
> > > Hi Oleg,
> > >
> > > Here is the cleaned up code:
> > >
> > >       NTCredentials creds = new NTCredentials(username, password,
> > >         "columbus.corp.goo.com", "ent-sales-d2");
> > >       HttpState httpState = new HttpState();
> > >       HttpClient client = new HttpClient();
> > >
> > >       httpState.setCredentials(new AuthScope("columbus",
> > >         AuthScope.ANY_REALM, AuthScope.ANY_SCHEME), creds);
> > >       GetMethod get = new GetMethod("
> > > http://columbus.corp.goo.com/default.aspx";);
> > >
> > >       get.setDoAuthentication(true);
> > >       client.getParams().setAuthenticationPreemptive(false);
> > >       client.setState(httpState);
> > >       client.executeMethod(get);
> > > ...
> > >
> > > Do you see any problem?
> > >
> >
> > Jeff,
> >
> > No, I do not. Could you please re-test your application with the latest
> > HttpClient release (3.1-beta1) just in case and see if the problem still
> > persists? If it does, please post a wire/context log of the HTTP session
> > that exhibits the problem. I'll take a look at it
> >
> > Oleg
> >
> >
> > > Thanks,
> > > Jeff
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to