Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" 
for change notification.

The following page has been changed by ThorstenScherler:
http://wiki.apache.org/jakarta-commons/Net/FrequentlyAskedQuestions

The comment on the change is:
Adding note about SOCKS Authenticator

------------------------------------------------------------------------------
  http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
  </pre>
  
+ In addition if you need to identify with the SOCKS server, use something like:
+ {{{
+ import java.net.Authenticator;
+ import java.net.PasswordAuthentication;
+ 
+ public class Auth extends Authenticator {
+   protected PasswordAuthentication getPasswordAuthentication() {
+     return new PasswordAuthentication(user, pass
+         .toCharArray());
+   }
+ }
+ }}}
+ 
  ----
  '''Q: What's the point of the SMTP and POP3 packages when !JavaMail provides 
more functionality?'''
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to