-
Bug
-
Resolution: Done
-
Major
-
None
-
PicketBox_4_9_2.Final
-
None
line 690:
// Query the context for the roleDN values
String[] attrNames =
;
Attributes result = null;
if (sr.isRelative()) {
result = ldapCtx.getAttributes(quoteDN(dn), attrNames);
The getAttributes method forces another roundtrip to the LDAP server, while the required attribute is in fact already present on the "sr" SearchResult object.
If a user is a member of (lets say) 100 groups, then we can get an extra 100 calls to the LDAP server.
- is related to
-
JBEAP-3013 (7.0.z) RolesSearch in AdvancedLdapLoginModule is doing a needless LDAP call for each individual role
- Verified