Class LdapEncoder.NameEncoder
java.lang.Object
org.springframework.data.ldap.repository.LdapEncoder.NameEncoder
- All Implemented Interfaces:
LdapEncoder
- Enclosing interface:
- LdapEncoder
LdapEncoder using LdapEncoder.nameEncode(String). Encodes a value
for use with a DN. Escapes for LDAP, not JNDI!-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.ldap.repository.LdapEncoder
LdapEncoder.LikeEncoder, LdapEncoder.NameEncoder -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NameEncoder
public NameEncoder()
-
-
Method Details
-
encode
Description copied from interface:LdapEncoderEncode a value for use in a filter.- Specified by:
encodein interfaceLdapEncoder- Parameters:
value- the value to encode.- Returns:
- a properly encoded representation of the supplied value.
-