Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 17360 invoked from network); 11 Feb 2006 08:26:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Feb 2006 08:26:54 -0000 Received: (qmail 67501 invoked by uid 500); 11 Feb 2006 08:26:53 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67466 invoked by uid 500); 11 Feb 2006 08:26:52 -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 67457 invoked by uid 99); 11 Feb 2006 08:26:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2006 00:26:52 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.153] (HELO e35.co.us.ibm.com) (32.97.110.153) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2006 00:26:51 -0800 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e35.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id k1B8QVPs021246 for ; Sat, 11 Feb 2006 03:26:31 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id k1B8OMIC185398 for ; Sat, 11 Feb 2006 01:24:22 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k1B8QU0H011067 for ; Sat, 11 Feb 2006 01:26:30 -0700 Received: from [127.0.0.1] (sig-9-48-115-11.mts.ibm.com [9.48.115.11]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k1B8QRHo011034 for ; Sat, 11 Feb 2006 01:26:30 -0700 Message-ID: <43ED9F61.1030605@Sourcery.Org> Date: Sat, 11 Feb 2006 00:25:05 -0800 From: Satheesh Bandaram User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org Subject: Re: Accept username of form xyz@somedomain.com References: <43ED2E1E.70100@gmail.com> <43ED4390.6070300@amberpoint.com> In-Reply-To: <43ED4390.6070300@amberpoint.com> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Bryan Pendleton wrote: > Sunitha Kambhampati wrote: > >> If I try to connect, the error thrown is >> ij> connect >> 'jdbc:derby:testdb;create=true;user=skambha@xyz.com;password=a'; >> ERROR 28502: The user name 'skambha@xyz.com' is not valid. > > > Is the string that we pass to "connect" an URL? If so, does it > need to satisfy the URL character set requirements of RFC 1738: > http://www.rfc-editor.org/rfc/rfc1738.txt Also this authorizationID is currently used as SQL identifier. According to ANSI, SQL identifiers can only have alphabets, digits and underscore. That is why there seems to be that check. So, skamba@xyz.com is not a valid SQL identifier. You could treat them as delimited identifiers... meaning 'skamba@xyz.com', but that has its own issues.. User names need to be case insensitive. Satheesh