Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 58987 invoked from network); 24 Feb 2011 14:33:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Feb 2011 14:33:06 -0000 Received: (qmail 97578 invoked by uid 500); 24 Feb 2011 14:33:05 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 97276 invoked by uid 500); 24 Feb 2011 14:33:03 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 97268 invoked by uid 99); 24 Feb 2011 14:33:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 14:33:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Feb 2011 14:32:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9489F19510D for ; Thu, 24 Feb 2011 14:32:38 +0000 (UTC) Date: Thu, 24 Feb 2011 14:32:38 +0000 (UTC) From: "Kim Haase (JIRA)" To: derby-dev@db.apache.org Message-ID: <1163259064.13538.1298557958604.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <28069556.287211296304243734.JavaMail.jira@thor> Subject: [jira] Resolved: (DERBY-4990) Documentation should state a custom security policy being required to use LDAP in conjunction with network driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kim Haase resolved DERBY-4990. ------------------------------ Resolution: Fixed Fix Version/s: 10.8.0.0 Issue & fix info: (was: [Patch Available]) Committed patch DERBY-4990-2.diff to documentation trunk at revision 1074163. > Documentation should state a custom security policy being required to use LDAP in conjunction with network driver > ----------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4990 > URL: https://issues.apache.org/jira/browse/DERBY-4990 > Project: Derby > Issue Type: Task > Components: Documentation > Reporter: Thomas Hill > Assignee: Kim Haase > Fix For: 10.8.0.0 > > Attachments: DERBY-4990-2.diff, DERBY-4990-2.stat, DERBY-4990-2.zip, DERBY-4990.diff, DERBY-4990b.diff, tadminnetservcustom.html, tadminnetservcustom.html > > > The documentation is lacking a statement that defining and using a >custom< security manager template is required when wanting to use LDAP authorization provider in conjunction with the network driver client. driver. Otherwise, i.e. just using the default security policy will lead to socket permission errors. Details on which permission exactely needs to be granted to which code base would be very helpful. > Chapter 'Running Derby under a security manager', section 'granting permissions to Derby' in the Developer's guide seems a good place to mention the permission java.net.SocketPermission as optional, but required to be set when wanting to use LDAP authorization in conjunction with the network client driver and defining the authorisation provider properties as system-level properties. > Adding this to the documentation and preferrably also providing some more guidance seems desirable as migrating off the builtin user system to LDAP is strongly recommened and the documentation has explicit statements about security risks otherwise incurred. > I also realized that the template included in the documentation at http://db.apache.org/derby/docs/10.7/adminguide/tadminnetservbasic.html and the default template included in 10.7.1.1 software are no longer in sync. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira