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

angela commented on SLING-7225:
-------------------------------

[~kpauls], thanks a lot. very much appreciated!

> Mapping: preserve order of principal names 
> -------------------------------------------
>
>                 Key: SLING-7225
>                 URL: https://issues.apache.org/jira/browse/SLING-7225
>             Project: Sling
>          Issue Type: Improvement
>          Components: Service User Mapper
>    Affects Versions: Service User Mapper 1.3.4
>            Reporter: angela
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: Service User Mapper 1.3.6
>
>         Attachments: mapping.patch
>
>
> while using the new service mapping definition with principal names, I 
> noticed that it might be better to preserve the order of the principal names 
> as defined in the mapping. In particular if the repository login picks one of 
> the configured names for the the {{javax.jcr.Session.getUserID()}}.
> Therefore I would like to propose to slightly change the implementation of 
> {{Mapping.extractPrincipalNames}} to use a {{LinkedHashSet}}.
> [~kpauls], would you mind reviewing the atttached patch and apply it? Thanks 
> a lot!
> cc: [~chaotic]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to