diff --git a/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java b/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java index 988763dd..65589277 100644 --- a/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java +++ b/core/src/main/java/org/springframework/ldap/core/LdapEntryIdentificationContextMapper.java @@ -15,7 +15,6 @@ */ package org.springframework.ldap.core; -import org.springframework.ldap.core.support.AbstractContextMapper; import org.springframework.ldap.support.LdapUtils; /** @@ -25,10 +24,10 @@ import org.springframework.ldap.support.LdapUtils; * @author Mattias Hellborg Arthursson * @since 1.3 */ -public class LdapEntryIdentificationContextMapper extends AbstractContextMapper { +public class LdapEntryIdentificationContextMapper implements ContextMapper { - @Override - public LdapEntryIdentification doMapFromContext(DirContextOperations adapter) { + public LdapEntryIdentification mapFromContext(Object ctx) { + DirContextOperations adapter = (DirContextOperations) ctx; return new LdapEntryIdentification( LdapUtils.newLdapName(adapter.getNameInNamespace()), LdapUtils.newLdapName(adapter.getDn()));