Android Open Source - Orlib Authentication None

From Project

Back to project page Orlib.


The source code is released under:

GNU Lesser General Public License

If you think the Android project Orlib listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.sourceforge.jsocks.socks;
/*from  w w  w. ja v  a  2  s  . c o  m*/
  SOCKS5 none authentication. Dummy class does almost nothing.
public class AuthenticationNone implements Authentication{

    public Object[] doSocksAuthentication(int methodId,

       if(methodId!=0) return null;

       return new Object[] { proxySocket.getInputStream(),

Java Source Code List