This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Authentication

 
kiran mahavir
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic