Closed Bug 1376300 Opened 7 years ago Closed 7 years ago

Missing getter methods in JDAPFilter classes

Categories

(Directory :: LDAP Java SDK, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: edewata, Assigned: edewata)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170608105825

Steps to reproduce:

The LDAP Java SDK provides a mechanism to parse a string LDAP filter into a JDAPFilter object tree:

  JDAPFilter filter = JDAPFilter.getFilter(strFilter);

However, some of the JDAPFilter classes do not provide methods to access the fields in the objects, limiting its usability. For example:

 * JDAPFilterSet does not provide getSet() method to access the filter set joined by the AND/OR operators.
* JDAPFilterNot does not provide getFilter() to access the filter negated by NOT operator.
 * JDAPFilterSubString does not provide getInitial(), getAny(), getFinal() to access parts of the substring filter.
Attachment #8914533 - Flags: review?(cfu)
Attachment #8914533 - Flags: review?(cfu) → review?(jmagne)
Attachment #8914533 - Flags: review?(jmagne) → review+
That looks correct. Thanks, Rich!

Could someone close this ticket? I don't think I have the permission to do that properly. Thanks!
Assignee: nobody → edewata
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: