You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by AbelMacAdam <ab...@gmail.com> on 2008/01/24 12:45:10 UTC

Sending passsword in plain text over network?

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