[vbox-dev] WS API - what credentials to pass to WebsessionManager_logon()?

Michal Bachorík Michal.Bachorik at Sun.COM
Sat May 17 19:19:20 GMT 2008


Christian Smith  wrote / napísal(a):
> Hi Michal,
>
> I have encountered that problem before.  Typically when authentication 
> fails the webservice returns a null string instead of a MOR.  How have 
> you configured authentication for the webservice?  To remove 
> authentication all together (for development only) execute:
>
> VBoxManage setproperty websrvauthlibrary null
>
Great, that was the step that I missed. Thanks Christian!

m.
>
> -Christian
>
>
> Michal Bachorík wrote:
>> Hi all,
>>
>> I wanted to try out the WS api, but I failed on very first step - 
>> whatever credentials I pass to WebsessionManager_Logon, I get back 
>> empy string (so, the reference to IVirtualBox is not valid). Does 
>> anybody have some working example?
>>
>> Thanx,
>>
>> Michal
>>
>> PS: There is no java sample code anywhere in VBox installation (one 
>> is mentioned in VirtualBox help)
>>
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>>   
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
>   





More information about the vbox-dev mailing list