clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Daga (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLEREZZA-899) Support java.security for virtuoso jdbc connection
Date Thu, 27 Mar 2014 18:05:15 GMT
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)

Mime
View raw message