Interface ContextMapperWithRequiredAttributes<T>

All Superinterfaces:
org.springframework.ldap.core.ContextMapper
All Known Implementing Classes:
ActiveDirectoryUserContextMapper, AttributeContextMapper, ContextMapperWithCustomAttributes, ExternalIdContextMapper, GroupContextMapper, JpegPhotoContextMapper, NamedLdapEntity.NamedEntityMapper, NameWithExternalIdContextMapper, TombstoneContextMapper, UserContextMapper

public interface ContextMapperWithRequiredAttributes<T> extends org.springframework.ldap.core.ContextMapper
A ContextMapper for LDAP NameAttributesPairs that declares which attributes it requires.
  • Method Details

    • mapFromContext

      T mapFromContext(Object ctx)
      Specified by:
      mapFromContext in interface org.springframework.ldap.core.ContextMapper<T>
    • getRequiredLdapAttributes

      Set<String> getRequiredLdapAttributes()
      Returns the LDAP attributes that should be requested in a search where mapFromContext(Object) will be called on the results. If an implementation returns null then all attributes will be requested.
      Returns:
      the LDAP attributes that should be requested, or null for all