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

ASF subversion and git services commented on KNOX-2127:
-------------------------------------------------------

Commit 029c9b8d64605dd3d09ea22b0d2b7e6818f05300 in knox's branch 
refs/heads/master from Philip Zampino
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=029c9b8 ]

KNOX-2127 - ZooKeeperAliasService mishandles mixed-case alias keys properly 
(#202)



> ZooKeeperAliasService mishandles mixed-case alias keys properly
> ---------------------------------------------------------------
>
>                 Key: KNOX-2127
>                 URL: https://issues.apache.org/jira/browse/KNOX-2127
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.3.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>             Fix For: 1.4.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The ZooKeeperAliasService mishandles mixed-case alias keys. Due to 
> JDK-4891485, the getPasswordFromAliasForCluster(String, String, boolean) 
> implementation assumes the alias key should be lower-cased. However, it 
> enforces no such requirement when an alias is added. Hence, it's possible to 
> add a mixed-case alias key, but impossible to retrieve the value thereof.
> If this lower-case requirement is necessary, then the implementation must 
> enforce it consistently. The add methods must also lower-case the alias keys.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to