Class LdapEncoder
java.lang.Object
com.codename1.backend.security.ldap.LdapEncoder
Escaping for what a user types that ends up inside a filter or a
distinguished name. Without it a user name of
* matches the first entry
of the directory, and admin)(|(uid=* rewrites the query.-
Method Summary
Modifier and TypeMethodDescriptionstatic StringfilterEncode(String value) valueas an assertion value of a filter (RFC 4515 section 3):*,(,),\and NUL as\XX.static StringnameEncode(String value) valueas one attribute value of a distinguished name (RFC 4514 section 2.4).
-
Method Details
-
filterEncode
-
nameEncode
-