db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunitha Kambhampati (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1071) Make UserAuthenticator javadoc mention clearly about what is passed in userName in authenticateUser
Date Wed, 01 Mar 2006 19:49:25 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1071?page=all ]

Sunitha Kambhampati updated DERBY-1071:

    Attachment: Derby1071.diff.txt

I am attaching patch Derby1071.diff.txt to fix the javadoc for UserAuthenticator#authenticateUser

Derby passes the user in a connection request as is; to the authenticateUser method. Thus
if user attribute value is delimited with quotes, the userName in authenticateUser will also
be delimited. Mentioned this explicitly in the javadoc.

svn stat:
M      java\engine\org\apache\derby\authentication\UserAuthenticator.java

This is only a javadoc change. I built the javadoc ok (ant javadoc) and I have attached the
UserAuthenticator.html also. 

Can someone please review and commit this change. Thanks.

> Make UserAuthenticator javadoc mention clearly about what is passed in userName in authenticateUser
> ---------------------------------------------------------------------------------------------------
>          Key: DERBY-1071
>          URL: http://issues.apache.org/jira/browse/DERBY-1071
>      Project: Derby
>         Type: Task
>   Components: Javadoc
>     Versions:,,,,,,,,
>  Environment: All
>     Reporter: Sunitha Kambhampati
>     Assignee: Sunitha Kambhampati
>     Priority: Trivial
>      Fix For:
>  Attachments: Derby1071.diff.txt, UserAuthenticator.html
> Usernames passed to the UserAuthenticator#authenticateUser are passed as is from the
connection url.  If the user name passed in has delimited quotes, then derby retains the delimiter
quotes and passes it to UserAuthenticator#authenticateUser.
> Javadoc for this method should mention this explicitly so users can write their authentication
modules correctly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message