In the vast majority of cases, the Object passed to a @ContextMapper@ is a @DirContextAdapter@. We could provide a base @ContextMapper@ implementation that does the cast to @DirContextAdapter@ and delegates to a template method to do the actual mapping.
Migrated from ["LDAP-76":https://jira.spring.io/browse/LDAP-76]
In the vast majority of cases, the Object passed to a @ContextMapper@ is a @DirContextAdapter@. We could provide a base @ContextMapper@ implementation that does the cast to @DirContextAdapter@ and delegates to a template method to do the actual mapping.