Skip to content

Instantly share code, notes, and snippets.

@cmarat
Last active December 21, 2015 03:19
Show Gist options
  • Save cmarat/6241198 to your computer and use it in GitHub Desktop.
Save cmarat/6241198 to your computer and use it in GitHub Desktop.
Authenticate Virtuoso SPARQL endpoint users using the SQL user name given in the endpoint Realm.
create procedure
DB.DBA.HP_AUTH_SQL_USER_AUTO (in realm varchar)
{
declare _user varchar;
_user := realm;
connection_set ('SPARQLUserId', _user);
return 1;
}
;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment