Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

Introduction for vSphere VI API using Java - Use Windows Session Authentication

$
0
0

Does anyone knows how to connect to my vcenter using the Windows Session credentials?

 

In fact, i don`t want to put the user and password every time..

I`m fairly new using java for vsphere so i don`t know so much libraries and methods...

 

What i know till now is that the ServiceInstance Class connects to the vcenter by this line of code:

 

ServiceInstance si = new ServiceInstance(new URL(url), username, password, true);

 

I didn`t find any argument or method which defines the authentication using the session credentials...

I`m a bit lost here...Someone give a light pls....


Viewing all articles
Browse latest Browse all 1577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>