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 Summary
Modifier and TypeMethodDescriptionReturns the LDAP attributes that should be requested in a search wheremapFromContext(Object)will be called on the results.mapFromContext(Object ctx)
-
Method Details
-
mapFromContext
- Specified by:
mapFromContextin interfaceorg.springframework.ldap.core.ContextMapper<T>
-
getRequiredLdapAttributes
Returns the LDAP attributes that should be requested in a search wheremapFromContext(Object)will be called on the results. If an implementation returnsnullthen all attributes will be requested.- Returns:
- the LDAP attributes that should be requested, or
nullfor all
-