You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Manfred Baedke (Jira)" <ji...@apache.org> on 2022/07/01 12:06:00 UTC

[jira] [Commented] (OAK-9773) DefaultSyncContext#syncMembership() compares external ids case-sensitively

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

Manfred Baedke commented on OAK-9773:
-------------------------------------

Changed that to
{code}log.warn("The existing group {} and the external group {} have identifiers that only differ by case. Since the identifiers are compared case-insensitively, the existing authorizable will be considered to match the external group.", grp.getID(), extGroup.getId());{code}
trunk: https://github.com/apache/jackrabbit-oak/commit/72fd3d043a76f3b5c8e72d79fdc0e9207f21bae7
1.22: https://github.com/apache/jackrabbit-oak/commit/72ea92e42739e27f4eb645f737f0ecee939e70ec


> DefaultSyncContext#syncMembership() compares external ids case-sensitively 
> ---------------------------------------------------------------------------
>
>                 Key: OAK-9773
>                 URL: https://issues.apache.org/jira/browse/OAK-9773
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: auth-external
>    Affects Versions: 1.42.0, 1.22.10
>            Reporter: Manfred Baedke
>            Assignee: Manfred Baedke
>            Priority: Major
>             Fix For: 1.44.0, 1.22.12
>
>         Attachments: OAK-9773.patch
>
>
> DefaultSyncContext#syncMembership() uses ids of Authorizables as keys in HashMaps. Since UserManagerImpl#getAuthorizable(String) works case-insensitively, this leads to misbehavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)