Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-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 E06E69A7C for ; Fri, 4 May 2012 13:11:11 +0000 (UTC) Received: (qmail 33014 invoked by uid 500); 4 May 2012 13:11:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 32995 invoked by uid 500); 4 May 2012 13:11:11 -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 32988 invoked by uid 99); 4 May 2012 13:11:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 May 2012 13:11:11 +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; Fri, 04 May 2012 13:11:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 65EBA430521 for ; Fri, 4 May 2012 13:10:48 +0000 (UTC) Date: Fri, 4 May 2012 13:10:48 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: <1490366066.26852.1336137048419.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <723840744.21866.1336054369236.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5742) Native user authentication: improve wording of error message MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268338#comment-13268338 ] Dag H. Wanvik commented on DERBY-5742: -------------------------------------- Thanks, Rick! The change looks for good for XXCY05.S.3. > XCY05.S.1: "Invalid setting of the derby.authentication.provider property. NATIVE::LOCAL is the only NATIVE value accepted by derby.authentication.provider." Well, we never do accept "NATIVE::LOCAL" as an explicitly set value anymore, do we? Quoting from the spec 7.0: "NATIVE::LOCAL - This value is never explicitly set by an application. It is ignored if it is set via JVM properties or via derby.properties." So, I still think the wording is misleading. > Native user authentication: improve wording of error message > ------------------------------------------------------------ > > Key: DERBY-5742 > URL: https://issues.apache.org/jira/browse/DERBY-5742 > Project: Derby > Issue Type: Improvement > Components: Services > Affects Versions: 10.9.0.0 > Reporter: Dag H. Wanvik > Assignee: Rick Hillegas > Attachments: derby-5742-01-aa-rewordMessage.diff, derby-5742-01-ab-rewordMessage.diff, repro2.sh > > > This error message no longer has a correct string: XCY05 > (quote from English locale): > Invalid setting of the derby.authentication.provider property. This property cannot be set to NATIVE::LOCAL unless credentials for the database owner have been stored in the database using the SYSCS_UTIL.SYSCS_CREATE_USER procedure. > This property should no longer ever need to be set to NATIVE::LOCAL: it is done automatically when the first user is created via SYSCS_UTIL.SYSCS_CREATE_USER. > The wording should be adjusted. Note: Now, the property should never be set manually for native authentication via SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY, this is only meaningful for LOCAL credentials db, but this is done automatically since version 7 of the spec. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira