Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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