Class LdapFilter
java.lang.Object
org.gridgain.internal.security.ldap.LdapFilter
Ldap filter.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LdapFilter
Constructor.- Parameters:
template- Filter template.
-
-
Method Details
-
resolve
Resolves the filter template by substituting the{0}placeholder with the supplied identifier.The identifier is escaped per RFC 4515 before substitution, so that filter metacharacters (
*,(,),\and NUL) in user-supplied input are treated as literal characters instead of being interpreted as filter syntax. This prevents LDAP injection through the login name (or any other value flowing into the filter).- Parameters:
identifier- Value to substitute for the{0}placeholder.- Returns:
- Resolved filter string.
-