hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How to retrieve AuthScope details
Date Wed, 18 Apr 2007 09:27:06 GMT
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: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message