Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5424

LdapRealm does not fetch more than $pagingSize Groups

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.9.1
    • zeppelin-server
    • None

    Description

      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:

       

      dapCtx.setRequestControls(new Control[]{new PagedResultsControl(pageSize,null, Control.CRITICAL)});
      

      The Cookie needs to be refreshed on every Call to the LDAP Server

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            chillinger Johannes Schillinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h