Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Need Help, Can not run the demo code according to the SSO programming guide.

$
0
0

1) I have configured 2 vcenters, xx.xx.xx.180,  xx.xx.xx.182,  and the SSO server: xx.xx.xx.181, like this:

ssss.png

 

2) according to  the programming guide(http://pubs.vmware.com/vsphere-60/topic/com.vmware.ICbase/PDF/sso_prog_guide_6_0.pdf )  , we can get token from sso server, like this:

1111.png

 

3)but i can't run the demo code, i got this error:

my command line: run.bat com.vmware.sso.client.samples.AcquireBearerTokenByUserCredentialSample https://192.168.21.181/sts/STSService username passs

222.png

i don't understand why got this error, i can visit the sso url through: https://192.168.21.181/sts/STSService

121212.png

 

 

I don't think i missed any steps,  pls  help  me,  thanks!!!


Viewing all articles
Browse latest Browse all 2738

Trending Articles



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