hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AbelMacAdam <abel.maca...@gmail.com>
Subject Sending passsword in plain text over network?
Date Thu, 24 Jan 2008 11:45:10 GMT

Hi, 

In this piece of code, is username and password send as clear text over the
Internet/Network? And if so, could you suggest me an alternative? 
[code]
	client = new HttpClient();
	Credentials defaultCredentials = new UsernamePasswordCredentials (uname,
pword.toString());
	client.getState().setCredentials(AuthScope.ANY, defaultCredentials);
	client.getState().setCredentials(new AuthScope(host, port,
AuthScope.ANY_REALM), defaultCredentials);
[/code]

Abel

-- 
View this message in context: http://www.nabble.com/Sending-passsword-in-plain-text-over-network--tp15063330p15063330.html
Sent from the HttpClient-User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message