db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinmay Bajikar (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1711) In an embedded env, connection happens properly even when the password supplied is wrong.
Date Sun, 03 Sep 2006 19:07:22 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1711?page=comments#action_12432370 ] 
Chinmay Bajikar commented on DERBY-1711:

Hi Francois,
Thnks for your observations...But I have tried doing wht you have suggested. It doesnt seem
to work even then.
If you have a look at the example, you shall see that, the connection is disallowed if the
user-name is wrong.
But its allowed if the user-name is correct and the password is wrong.
If you can, please try out the example.


> In an embedded env, connection happens properly even when the password supplied is wrong.
> -----------------------------------------------------------------------------------------
>                 Key: DERBY-1711
>                 URL: http://issues.apache.org/jira/browse/DERBY-1711
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions:
>         Environment: Win XP,Java 1.4.x
>            Reporter: Chinmay Bajikar
>         Attachments: derby.zip
> Hi,
> I am a new user of Derby.
> Have tried to set user authorization at the database level using the example given in
the Derby Dev Guide.(Page 85).
> The steps that I do are as follows,
> 1)Create a db (using create=true attribute in the connection url)
> 2) Connect to the db and set the appropriate properties i.e. set requireAuthentication
to true,provider to builtin, add a new user,passwrd and give it full access.
> 3) Set the default access level to noAccess.
> 4) Close this connection.
> 5) Now make a new connection using the user name/passwd.It connects fine.
> 6) Now try to make a new connection using a wrong user name and it gives a Connection
Refused exception.
> 7) Finally try giving a right username and wrong passwd and the connection still happens.
> Have attached the source file which does all these above steps for reproducing the issue.
> Thanks,
> Chinmay.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message