[JBoss JIRA] (GTNPORTAL-3495) Membership Pagination don't work
by Boubaker Khanfir (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3495?page=com.atlassian.jira.pl... ]
Boubaker Khanfir commented on GTNPORTAL-3495:
---------------------------------------------
Ok, I understand. So you intentionally didn't implement the membership pagination using LDAP store. (as seen in method LDAPIdentityStoreImpl.resolveRelationships). Can we make a change in GateIN so that in case we use LDAP/AD in PL IDM, the "skipPaginationInMembershipQuery" is switched automatically, or at least a "log.warn" to say: "Hey, you are using LDAP, switch this flag to 'true' ".
> Membership Pagination don't work
> --------------------------------
>
> Key: GTNPORTAL-3495
> URL: https://issues.jboss.org/browse/GTNPORTAL-3495
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.9.Final
> Reporter: Boubaker Khanfir
> Assignee: Marek Posolda
> Attachments: plidm-ldap-membership-pagination.zip
>
>
> I attach a new unit test for a bug that I met in PL IDM 1.4.4.
> Test case description:
> 1/ add about 10 users in an LDAP group
> 2/ use SearchCriteria to paginate on the Members of this group
> => Problem: pagination doesn't work
> Why does it fails:
> Because in this method "org.picketlink.idm.impl.store.ldap.LDAPIdentityStoreImpl.resolveRelationships(IdentityStoreInvocationContext, IdentityObject, IdentityObjectRelationshipType, boolean, boolean, String, IdentityObjectSearchCriteria)" the attribute "IdentityObjectSearchCriteria" isn't used for pagination.
> To workaround this bug I had to use (skipPaginationInMembershipQuery=true). If the UI is buggy without this parameter to "true", I think it has to be *by default "true" in Config class* and may be even delete this option to not use pagination in Membership at all.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)