Hello.
With the following procedure:
create procedure
DB.DBA.HP_AUTH_SPARQL_USER (in realm varchar)
{
declare k integer;
k:=DB.DBA.mh_verify_http_digest(realm);
if(k=1){
return 1;
} else {
return 0;
}
}
I got:
SR066: Unsupported case in CONVERT (ARRAY_OF_POINTER -> VARCHAR)
But with the following procedure:
DB.DBA.HP_AUTH_SPARQL_USER (in realm varchar)
{
declare k integer;
k:=DB.DBA.mh_verify_http_digest(realm);
return 1;
}
I got no error !!!
The header declaration of mh_verify_http_digest is the following:
create procedure DB.DBA.mh_verify_http_digest(in realm varchar )
returns integer
The "problematic lines" seems to be:
allow_basic:=0;
DB.DBA.vsp_auth_get (
realm,
http_path (),
md5 (datestring (now ())),
md5 ('eEsSlLAaf'),
'false',
lines,
allow_basic);
return 0; -- return not authenticated
Where's the problem?????
I don't understand !
Any comment will be appreciated !
FDO.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users