Package netscape.ldap.client
Class JDAPFilterOpers
- java.lang.Object
-
- netscape.ldap.client.JDAPFilterOpers
-
public class JDAPFilterOpers extends java.lang.Object
This class provides miscellaneous operations for JDAPFilter object. It converts string with escape characters to the byte array. It also returns the ber octet string for the specified string with escape characters.
-
-
Constructor Summary
Constructors Constructor Description JDAPFilterOpers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
convertLDAPv2Escape(java.lang.String filter)
Preprocess the LDAPv2 RFC1960 style filter escape sequences (precede a character with a a backslash) and convert them into the LDAPv3 style RFC2254 escape sequences (encode a character as a backslash followed by the two hex digits representing the character ASCII value).
-
-
-
Method Detail
-
convertLDAPv2Escape
public static java.lang.String convertLDAPv2Escape(java.lang.String filter)
Preprocess the LDAPv2 RFC1960 style filter escape sequences (precede a character with a a backslash) and convert them into the LDAPv3 style RFC2254 escape sequences (encode a character as a backslash followed by the two hex digits representing the character ASCII value). LDAPv3 style unescaping is done from the getByteValues()method. We must process LDAPv2 escaped characters earlier to get rid of possible "\(" \)" sequences which would make filter parsing in the JDAPFilter operate incorrectly.
-
-