You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Enrico Daga (JIRA)" <ji...@apache.org> on 2014/03/27 19:05:15 UTC

[jira] [Created] (CLEREZZA-899) Support java.security for virtuoso jdbc connection

Enrico Daga created CLEREZZA-899:
------------------------------------

             Summary: Support java.security for virtuoso jdbc connection
                 Key: CLEREZZA-899
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-899
             Project: Clerezza
          Issue Type: Bug
          Components: storage
            Reporter: Enrico Daga
            Assignee: Enrico Daga


Even if I am not completely sure about it, especially why I did not experienced it in the past, the current virtuoso adapter throws java.security.AccessControlException of trying to connect to the backend database. 
The known method to overcome this is to wrap the relevant code into:

     ... = AccessController.doPrivileged(
      new PrivilegedAction<String>() {
          public String run() {
              return ...;
          }
        }
     );




--
This message was sent by Atlassian JIRA
(v6.2#6252)