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

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

    Attachment: Derby1071.2.diff.txt

Fix javadoc comment for authenticateUser#userName.

userName - The user's name for the connection request. May be null. The user 
name is passed in as is from the connection request. For example if user 
attribute is delimited with quotes is set as part of connection url or in the 
properties passed as part of DriverManager.getConnection(), then the userName 
passed here will also have the delimiter quotes. Derby will pass in the user 
name that is set on connection request without changing the casing.

Can someone please review and submit this change if it looks ok. 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.2.diff.txt, 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

Reply via email to