Hosted by: SourceForge Logo

Get Java[tm] Technology From the Source, Sun Microsystems

 

Proxy Support


PDF version

SOCKS protocol support settings

The SOCKS username and password are acquired in the following way. First, if the application has registered a java.net.Authenticator default instance, then this will be queried with the protocol set to the string "SOCKS5", and the prompt set to to the string "SOCKS authentication". If the authenticator does not return a username/password or if no authenticator is registered then the system checks for the user preferences java.net.socks.username and java.net.socks.password. If these preferences do not exist, then the system property "user.name" is checked for a username. In this case, no password is supplied.

The previous information is taken from the Java Documentation and is copyrighted by Sun Microsystems.

I think I got this correct. Please see command line option -sph above for example use of username and password. Let me know if this works.