Hi Oleg, I have already set the credentials for HttpState as explained in previous mail.
In some other place I want to check the credential details for HttpState. In this regard I have to use httpState.getCredentials (AuthScope auth). That's why I would like to know how I can retrieve AuthScope details for HttpState.Then I will use the same AuthScope details to retrieve credentials. Regards, Lalit -----Original Message----- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 18, 2007 2:57 PM To: HttpClient User Discussion Subject: Re: How to retrieve AuthScope details On Wed, 2007-04-18 at 14:46 +0530, Lalit Sahoo wrote: > Hi All, > > > > I am creating an instance of AuthScope by using following constructor: > > > > new AuthScope (hostName, port, newRealm, newAuthScheme); > > > > And then setting this AuthScope on HttpState by using following > statement: > > > > httpState.setCredentials (authScope, userCredentials); > > > > I want to retrieve the AuthScope details from HttpState. > > > > How can I achieve this? > Lalit, I am not sure I understand what exactly you are trying to do. Are you trying to enumerate all credentials available in HttpState? Oleg > > > Can anybody help me in this regard? > > > > Regards, > > Lalit > > > > > > > > > > > --------------------------------------------------------------------- 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]
