search for: defaultauth

Displaying 2 results from an estimated 2 matches for "defaultauth".

Did you mean: default_auth
2010 Jun 22
0
Question about the remote Authentication in the libvirt Java bindings
.... -- bk On 06/21/2010 10:35 PM, Dustin Xiong wrote: > Dear Bryan Kearney? > > I hava a question about the remote authentication of the libvirt java > bindings. I run the test.java of the libvirt-java-0.4.3.tar.gz. I can > connect the remote host use the > > ConnectAuth defaultAuth = new ConnectAuthDefault(); > try{ conn = new Connect("xen+ssh://192.168.0.146/", defaultAuth, 0); > > Then I input the remote host's ssh password, I can connect the host. > If I don't want to input the ssh password, I want write the password > into the libvirt or...
2012 Apr 09
0
virsh works but libvirt-java throws a 'No route to host'
...irtAPI.testing; import org.libvirt.*; public class VirtAPITesting { public static void main(String[] args) throws InterruptedException { System.setProperty("jna.library.path", "/usr/local/lib/"); Connect conn=null; System.out.println( ConnectAuth defaultAuth = new ConnectAuthDefault(); try{ conn = new Connect("xenapi://root at 192.168.1.23?no_verify=1", defaultAuth, 0); } catch (LibvirtException e){ System.out.println("exception caught:"+e); System.out.println(e.getError());...