Hi,

I've tried to use the REST API provided by ODS, following the
instructions detailed on [1]. But I haven't been able to get a
successful response from the user.authenticate service. From the
length of the hash which appear on the example, one can think it is a
SHA1, but that doesn't work. I've searched the docs, but haven't found
any description of the procedure to get the hash.

By poking at the ODS code, looks like the correct function is:

  password_hash = SHA1(concat(user_name, pwd_magic_calc(username, password, 1)))

But then, what is the definition of pwd_magic_calc? (assuming that the
function shown above is correct).

Regards,

[1] 
http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtuosoOdsControllers#Session%20based
-- 
Leo Soto M.
http://blog.leosoto.com

Reply via email to