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

Reply via email to