[jetty-dev] [jira] (JETTY-1530) No returning attributes set in LdapLoginModule::getUserRolesByDn()

"Phil Brown (JIRA)" <[email protected]> Sun, 1 Jul 2012 20:53:21 -0500 (CDT)
Newsgroups gmane.comp.java.jetty.general
Message-ID <1007013279.19118.1341194001268.JavaMail.j2ee-jira@codehaus01.managed.contegix.com>
Phil Brown
created JETTY-1530

No returning attributes set in LdapLoginModule::getUserRolesByDn()

Issue Type:

Bug

Affects Versions:

8.1.4

Assignee:

Unassigned

Created:

01/Jul/12 8:53 PM

Description:

In the org.eclipse.jetty.plus.jaas.spi.LdapLoginModule::getUserRolesByDn() method, no returning attributes are set which means all attributes are returned. For roles (groups) with a lot of members (100k+ in our app), this equates to a lot of data moving between LDAP and the app server.

The SearchControl returning attributes should be set to the configured roleNameAttribute only as this is the only data used from the object.

See this StackOverflow question and answer for more details - http://stackoverflow.com/q/11286471/283366

Project:

Jetty

Priority:

Major

Reporter:

Phil Brown

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

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email