You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Sunitha Kambhampati (JIRA)" <de...@db.apache.org> on 2006/03/01 20:49:25 UTC

[jira] Updated: (DERBY-1071) Make UserAuthenticator javadoc mention clearly about what is passed in userName in authenticateUser

     [ http://issues.apache.org/jira/browse/DERBY-1071?page=all ]

Sunitha Kambhampati updated DERBY-1071:
---------------------------------------

    Attachment: Derby1071.diff.txt
                UserAuthenticator.html

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: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.1.1, 10.1.1.2, 10.1.2.0, 10.1.2.1, 10.1.2.2, 10.2.0.0
>  Environment: All
>     Reporter: Sunitha Kambhampati
>     Assignee: Sunitha Kambhampati
>     Priority: Trivial
>      Fix For: 10.2.0.0
>  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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira