rwinch / spring-security-jira-to-gh

0 stars 0 forks source link

LDAP-76: Add abstract ContextMapper implementation #30

Closed rwinch closed 16 years ago

rwinch commented 16 years ago

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.

rwinch commented 16 years ago

["Mattias Hellborg Arthursson":https://jira.spring.io/secure/ViewProfile.jspa?name=marthursson] said:

Created @AbstractContextMapper@ and @AbstractParametrizedContextMapper@