Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
As of now the lookupGroup() method doesn't allow to have placeholders in
groupSearchFilter, so that can not be dynamically adjusted.
If we have placeholders for groupSearchFilter like: (&(|(XYZ={0})(ABC={1}))(objectClass=posixGroup))
This fails here:
groupResults = c.search(groupbaseDN, "(&" + groupSearchFilter + "(" + groupMemberAttr + "={0}))", new Object[]{userDn}, SEARCH_CONTROLS);
With
javax.naming.directory.InvalidSearchFilterException: number exceeds argument list: 1; remaining name
>>Dropped off or changed the details above which I thought won't be safe to disclose.
Attachments
Attachments
Issue Links
- links to