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/29 12:44:15 UTC

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

     [ https://issues.apache.org/jira/browse/CLEREZZA-899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enrico Daga resolved CLEREZZA-899.
----------------------------------

    Resolution: Fixed

> 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)