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 "Alex Deparvu (JIRA)" <ji...@apache.org> on 2019/01/29 15:20:00 UTC

[jira] [Comment Edited] (OAK-7994) Principal Management APIs don't allow for search pagination

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

Alex Deparvu edited comment on OAK-7994 at 1/29/19 3:19 PM:
------------------------------------------------------------

there are a few blockers here:
 - first, I didn't realize this will need a jackrabbit api update. I'll focus on the oak bits for now
 - second the results will have to have some sort of ordering which is not guaranteed by the current api (and impl)
 - third the way the everyone group is injected in the result set makes the pagination task pretty complicated
 - last, the composite provider will have to do some magic to maintain the expected results in order over the required range
 - [edit] another one: there are quite a few impl in oak (the principalImpl, the user mng, the external auth, the composite). I will not have the bandwith to fix all of them in one go, so we'll probably need some sensible defaults in place while the code gets improved case by case

[~anchela] any thoughts?


was (Author: alex.parvulescu):
there are a few blockers here:
 - first, I didn't realize this will need a jackrabbit api update. I'll focus on the oak bits for now
 - second the results will have to have some sort of ordering which is not guaranteed by the current api (and impl)
 - third the way the everyone group is injected in the result set makes the pagination task pretty complicated
 - last, the composite provider will have to do some magic to maintain the expected results in order over the required range

[~anchela] any thoughts?

> Principal Management APIs don't allow for search pagination
> -----------------------------------------------------------
>
>                 Key: OAK-7994
>                 URL: https://issues.apache.org/jira/browse/OAK-7994
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: security, security-spi
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Major
>
> Current apis are limited to passing a search token, I'd like to also add range (offset, limit).



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