db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: Accept username of form xyz@somedomain.com
Date Sat, 11 Feb 2006 01:53:20 GMT
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

If we have to satisfy those requirements, then I think "@" is
a special character and may have to be "%-encoded" as %40 or something
like that.

thanks,

bryan


Mime
View raw message