db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francois Orsini <francois.ors...@gmail.com>
Subject Re: Derby shutdown
Date Mon, 14 Sep 2009 22:52:21 GMT
You have to set it _if_ you have defined Derby's BUILT-IN user
authentication at the System level (e.g. setting username / password in
derby.properties file) versus having defined users at the database level
(e.g. database-level properties) - note that both types of users are NOT
exclusive, meaning you can have users defined at the system and database


"Setting the property as a system-wide property creates system-wide users.
Setting the property as a database-wide property creates users for a single
database only."

See database-level properties versus system-level ones:

Hope this helps


On Mon, Sep 14, 2009 at 3:20 PM, dev@xx <dev@proxiflex.fr> wrote:

>  Hi,
> The documentation says : << Applications in an embedded environment shut
> down the Derby system by specifying the shutdown=true attribute in the
> connection URL. To shut down the system, you do not specify a database name,
> and **you must not specify any other attribute**.>>
> Even if authentication is enabled it doesn't seams that you have to set the
> user/password attributes, only database shutdown needs these attributes.
> In fact I HAVE TO set the user/password attributes to shutdown the system
> or I have a "Connection authentication failure occurred" exception.
> So my question is : is-it an error in the documentation or a bug or a
> misunderstanding ?
> Thanks,
> JY Linet

View raw message