cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Tunnicliffe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10394) Mixed case usernames do not work
Date Thu, 24 Sep 2015 17:04:04 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906653#comment-14906653
] 

Sam Tunnicliffe commented on CASSANDRA-10394:
---------------------------------------------

The fix is simple, I'd just incorrectly set the {{keepCase}} flag, so I've pushed patches
reversing that. Incidentally, the new (in 2.2) {{CREATE ROLE}} syntax was behaving in the
same way. Of course, that isn't technically a regression but I do think it's probably not
what most users will be expecting so I've also changed that to preserve the case. That's perhaps
a bit controversial for a minor release, so I'd be ok with omitting that part.

Patches:
|[2.2|https://github.com/beobal/cassandra/tree/10394-2.2]|[3.0|https://github.com/beobal/cassandra/tree/10394-3.0]|[trunk|https://github.com/beobal/cassandra/tree/10394-trunk]

CI Tests:
|2.2|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10394-2.2-testall/]
| [dtests|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10394-2.2-dtest/]|
|3.0|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10394-3.0-testall/]
| [dtests|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10394-3.0-dtest/]|
|trunk|[testall|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10394-trunk-testall/]
| [dtests|http://cassci.datastax.com/view/Dev/view/beobal/job/beobal-10394-trunk-dtest/]|

> Mixed case usernames do not work
> --------------------------------
>
>                 Key: CASSANDRA-10394
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10394
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: Centos 7, Cassandra 2.2.1
>            Reporter: William Streaker
>            Assignee: Sam Tunnicliffe
>            Priority: Critical
>             Fix For: 2.2.x
>
>
> When you create a user with a mixed case username it is stored as all lower case.  When
you try and login with the mixed case username it will fail, but logging in as the lower case
name works.   This is a change from the 2.1.x versions that are released where mixed case
usernames worked.
> example:
> CREATE USER stBarts WITH PASSWORD 'island';   
> The above statement changes the username to "stbarts".
> This would not be so bad except during login case does matter and has to match what is
stored in the system.   
> Recommended fix: allow mixed case usernames to be stored in system, or convert mixed
case username entered to lower case during login.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message