[
https://issues.jboss.org/browse/GTNPORTAL-3495?page=com.atlassian.jira.pl...
]
Marek Posolda commented on GTNPORTAL-3495:
------------------------------------------
Hi Boubaker,
There is no easy way to see in GateIn what are underlying identity store implementations.
It's abstraction layer, which is not intended to be directly visible by upper layers
like GateIn (without doing any hacks).
Btv. I don't get why this is problem. Again, default value of
"skipPaginationInMembershipQuery" is "true" as I already mentioned
above. And in comment
https://github.com/gatein/gatein-portal/blob/master/web/portal/src/main/w...
it's mentioned that for DB+LDAP are people not expected to change this option to
"false".
Also in LDAP documentation
https://docs.jboss.org/author/display/GTNPORTAL38/LDAP+integration is not anything about
this option. So I don't understand why you (or your customers) are switching this
option to "false" when they have DB+LDAP setup.
What I can do is to reformulate the comment about this parameter to emphasize more that
it's intended to be switched to false just in DB-Only setup . I did it here and will
be available in next GateIn version -
https://github.com/mposolda/gatein-portal/commit/4cd2d5431719157984655704...
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)