Johannes Schillinger created ZEPPELIN-5424:
----------------------------------------------
Summary: LdapRealm does not fetch more than $pagingSize Groups
Key: ZEPPELIN-5424
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5424
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-server
Affects Versions: 0.9.0
Reporter: Johannes Schillinger
LdapRealm does not utilize the Cookie from the LDAP Server to continue fetching
paged results of the search.
Therefore the Result Size is limited by ldapRealm.pagingSize (defaults to 100)
This will lead to very unpredictable behaviour, e.g. if the results get sorted
differently for every search and can therefore be different for every search
result.
Cause of this behaviour is in LdapRealm.rolesFor:
{code:java}
dapCtx.setRequestControls(new Control[]{new PagedResultsControl(pageSize,null,
Control.CRITICAL)});
{code}
The Cookie needs to be refreshed on every Call to the LDAP Server
--
This message was sent by Atlassian Jira
(v8.3.4#803005)