kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-3531) Login failed with case-insensitive username
Date Wed, 19 Sep 2018 05:36:00 GMT

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

ASF subversion and git services commented on KYLIN-3531:
--------------------------------------------------------

Commit 683b0d997674ef8c82c64878ea94a7c576a3adff in kylin's branch refs/heads/2.5.x from [~yichen.zhou]
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=683b0d9 ]

KYLIN-3531 Save uppercase of usernames to metadata


> Login failed with case-insensitive username
> -------------------------------------------
>
>                 Key: KYLIN-3531
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3531
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v2.4.0
>            Reporter: Yichen Zhou
>            Assignee: Yichen Zhou
>            Priority: Major
>             Fix For: v2.5.1
>
>
> Username is case-insensitive in login authentication but case-sensitive in hbase metadata.  
> {quote}org.apache.kylin.common.persistence.WriteConflictException: Overwriting conflict /user/Admin, expect old TS 1536031295060, but it is 0
>  org.apache.kylin.storage.hbase.HBaseResourceStore.checkAndPutResourceImpl(HBaseResourceStore.java:325)
>  org.apache.kylin.common.persistence.ResourceStore.checkAndPutResourceCheckpoint(ResourceStore.java:323)
>  org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:308)
>  org.apache.kylin.common.persistence.ResourceStore.putResource(ResourceStore.java:287)
>  org.apache.kylin.metadata.cachesync.CachedCrudAssist.save(CachedCrudAssist.java:192)
>  org.apache.kylin.rest.security.KylinUserManager.update(KylinUserManager.java:122)
>  org.apache.kylin.rest.service.KylinUserService.updateUser(KylinUserService.java:85)
>  org.apache.kylin.rest.security.KylinAuthenticationProvider.authenticate(KylinAuthenticationProvider.java:117)
>  org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)
>  org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:199)
>  org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:180)
>  org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message