wood burning stoves 2.0*
The moose likes Sockets and Internet Protocols and the fly likes Authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Authentication" Watch "Authentication" New topic
Author

Authentication

kiran mahavir
Ranch Hand

Joined: Jan 09, 2001
Posts: 35
Hello javaranch,
Can u please suggest me how do we pass authentication information when we are connecting to server and when the client is behind FIREWALL using SOCKET.
I know how we do it when we use URLConnection as it has setRequestProperty("Proxy-Authorization", auth)and we need to set the following properties
System.getProperties().put("proxySet","true");
System.getProperties().put("proxyHost","yourHost");
System.getProperties().put("proxyPort","80");
So please let me know how to do the above mention thing using sockets.
Expecting a reply at the earliest.
Thanking in advance
kiran
 
 
subject: Authentication
 
Similar Threads
URLConnection Doubts -- Urgent!!
Connect oracle databse from Websphere 6.1 with OS Authentication
System Property Setting and JVM
Accessing html pages through proxy needs Proxy authorization
Reading proxy settings and applying in URL connection