Return-Path: X-Original-To: apmail-clerezza-dev-archive@www.apache.org Delivered-To: apmail-clerezza-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F6C810ED9 for ; Thu, 27 Mar 2014 18:46:52 +0000 (UTC) Received: (qmail 54510 invoked by uid 500); 27 Mar 2014 18:46:44 -0000 Delivered-To: apmail-clerezza-dev-archive@clerezza.apache.org Received: (qmail 54190 invoked by uid 500); 27 Mar 2014 18:46:36 -0000 Mailing-List: contact dev-help@clerezza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@clerezza.apache.org Delivered-To: mailing list dev@clerezza.apache.org Received: (qmail 54076 invoked by uid 99); 27 Mar 2014 18:46:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 18:46:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of enricodaga@gmail.com designates 209.85.223.181 as permitted sender) Received: from [209.85.223.181] (HELO mail-ie0-f181.google.com) (209.85.223.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 18:46:27 +0000 Received: by mail-ie0-f181.google.com with SMTP id tp5so3869941ieb.12 for ; Thu, 27 Mar 2014 11:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=yBMPuc7WN/q6jMWhK2OdGyt+A/rUKvmCGT+8s2v5Ilw=; b=Rn7BK/s1jbkO3Yj5VVQwa3REp4KMfcstwx4bEyoJQtxXH2t5tfO0tSJqCHFEMUpQx0 5JDNZPh7QtdLusPqex4HSMQxmgqwtfyXmgeiE4TdV4Uhpw7vpKPUZQo7KQDKVrgjMZLp xCvsjya/I+CIJXdqQQjqnVP75PG1+apP9sZD5/2qta5D9OglyX+K5oBFKDbqAr5Zy1uc qp1gf8Ckys62wojhJvxCmMndiiV2QEalTRgKkRcFtssGf42tOQgYzoDastqYrT97/vE0 +qX3uI0yxRbxEHqSVr+PUuwvJNTUq71LgquiaB/4GaRulnI08cQRZZ0mjrbVbPKPpxhs +nlQ== X-Received: by 10.50.61.180 with SMTP id q20mr32708135igr.38.1395945967277; Thu, 27 Mar 2014 11:46:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.136.230 with HTTP; Thu, 27 Mar 2014 11:45:47 -0700 (PDT) In-Reply-To: References: From: Enrico Daga Date: Thu, 27 Mar 2014 18:45:47 +0000 Message-ID: Subject: Re: How to deal with java security for the virtuoso jdbc connection To: =?UTF-8?Q?Reto_Gm=C3=BCr?= Cc: dev@clerezza.apache.org, ENRICO DAGA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Reto, this is exactly the clarification I needed. Cheers, Enrico On 27 March 2014 18:34, Reto Gm=C3=BCr wrote: > Hi, > > As you described it in the issue doing a privileged action is the right > thing to do. > > Technically you could also assign the needed permission to the base-role = but > this seems the wrong solution. As when somebody has the permission to acc= ess > a certain graph one shouldn't need additional permission like network > permission or file access permission to effectively access that graph. > > Cheers, > Reto > > > On Thu, Mar 27, 2014 at 6:59 PM, enridaga wrote: >> >> Hi, >> I am having an >> >> java.security.AccessControlException: access denied >> ("java.net.SocketPermission" "" >> "resolve") >> >> thrown while attempting to connect to my virtuoso database. >> I can't say why I did not have it before... >> I know I could manage this in the Virtuoso adapter, but which is the >> proper/clerezza way of doing it? >> >> Best, >> Enrico >> >> -- >> >> ------------------------------------------------------------------------= ------ >> enridaga > > --=20 Enrico Daga -- http://www.enridaga.net skype: enri-pan