You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "John Vines (JIRA)" <ji...@apache.org> on 2013/01/09 19:52:14 UTC

[jira] [Created] (SHIRO-408) Specifying memberOf for ActiveDirectoryRealm LDAP search

John Vines created SHIRO-408:
--------------------------------

             Summary: Specifying memberOf for ActiveDirectoryRealm LDAP search
                 Key: SHIRO-408
                 URL: https://issues.apache.org/jira/browse/SHIRO-408
             Project: Shiro
          Issue Type: Improvement
          Components: Realms 
            Reporter: John Vines


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira