1) I have configured 2 vcenters, xx.xx.xx.180, xx.xx.xx.182, and the SSO server: xx.xx.xx.181, like this:
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:
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
i don't understand why got this error, i can visit the sso url through: https://192.168.21.181/sts/STSService
I don't think i missed any steps, pls help me, thanks!!!