Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

logging in via java sdk

$
0
0

Hello,

 

I am using the API for the first time. Started with the samples in the java sdk. I am getting an error similar to the one in this discussion:

unable to login to vcd using java sdk

 

I am not sure how to use the username, may be that is the problem.

 

Our set up is as follows:

We have the URL: https://myvcd.url  as the url for admins. Actually this url in the browser redirects to https://myvcd.url/cloud

Our group has been given the URL https://myvcd.url/cloud/org/group1, where my credential (user: hkodungallur) works. It doesn't work on the root url.

 

When using the SDK, I have to provide the url as https://myvcd.url ; if not it returns a 404 (because it can't find {url}/versions anywhere else).

But when I pass this url, and my user (hkodungallur) and password, it comes back as Unauthorized.

 

I am thinking I have to provide some sort of user@org. I am not sure what that should be.

Or is this some setup issue with our vcd?

 

thank you and appreciate your help,

-Hari


Viewing all articles
Browse latest Browse all 176483

Trending Articles



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