This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I currently have the following code to connect to a directory server. I have been told that I need to have the code go through a proxy server (specifically a Squid proxy, if that's relevant). I can't figure out what to change or add in this code to get it to route through the proxy. Any/ all thoughts are welcome.
String url = "ldap://" + IP + ":" + Port;
Hashtable env = new Hashtable();
InitialLdapContext ilc = new InitialLdapContext(env,null);