Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-408

Specifying memberOf for ActiveDirectoryRealm LDAP search

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Realms
    • Labels:

      Description

      searchCtls.setReturningAttributes(new String[]

      {"memberOf"}

      );

      This line will do the search with only returning the information the call in getRoleNamesForUser needs. It's a minor performance improvement.

        Attachments

        1. SHIRO-408-1.2.x.patch
          0.7 kB
          John Vines
        2. SHIRO-408-trunk.patch
          0.7 kB
          John Vines

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vines John Vines
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: