[Date Prev][Date Next]
BasicAttribute with filter options
Is posible to include a filter like (cn=*some*) int the BassicAttribute??
I have some method in java that use the
DirContext.search(String name, Attributes matchingAttributes, String
but when I try to put somthing like (cn=*some*) the api apply the encoding
rules defined in RFC 2254 and my * is not taken like a filter.
So is posible to do this?
or is better idea do this with the method
DirContext.search(String name, String filter, SearchControls cons)
But how could I restrict this last mehtod to return only the atributes that
Thanks in advance