/** * Create a USERNAME/PASSWORD authentication SOCKS5 server. * * @param users Users. * @return The instance of {@link SocksProxyServer} that supports SOCKS5 protocol. */ public static SocksProxyServer newUsernamePasswordAuthenticationServer(User... users) { return newUsernamePasswordAuthenticationServer(DEFAULT_PORT, users); }
/** * Create a USERNAME/PASSWORD authentication SOCKS5 server. * * @param users Users. * @return The instance of {@link SocksProxyServer} that supports SOCKS5 protocol. */ public static SocksProxyServer newUsernamePasswordAuthenticationServer(User... users) { return newUsernamePasswordAuthenticationServer(DEFAULT_PORT, users); }