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 NameAttributesPair
s 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:
mapFromContext
in 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 returnsnull
then all attributes will be requested.- Returns:
- the LDAP attributes that should be requested, or
null
for all
-