Formata o DN corretamente caso exista algum caracter especial.
ReferĂȘncias:
http://java.sun.com/products/jndi/tutorial/beyond/names/syntax.html
http://www.owasp.org/index.php/Preventing_LDAP_Injection_in_Java
Parameters:
name -
Returns:
escapeLDAPSearchFilter
public static final String escapeLDAPSearchFilter(String filter)
Formata o filtro corretamente caso exista algum caracter especial.
ReferĂȘncias:
http://java.sun.com/products/jndi/tutorial/beyond/names/syntax.html
http://www.owasp.org/index.php/Preventing_LDAP_Injection_in_Java