public static class NamedLdapEntity.NamedEntityMapper extends Object implements ContextMapperWithRequiredAttributes<NamedLdapEntity>
| Constructor and Description |
|---|
NamedEntityMapper(String nameAttribute) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getRequiredLdapAttributes()
Returns the LDAP attributes that should be requested in a search where
ContextMapperWithRequiredAttributes.mapFromContext(Object) will
be called on the results. |
int |
hashCode() |
NamedLdapEntity |
mapFromContext(Object ctx) |
public NamedEntityMapper(String nameAttribute)
public NamedLdapEntity mapFromContext(Object ctx)
mapFromContext in interface ContextMapperWithRequiredAttributes<NamedLdapEntity>mapFromContext in interface org.springframework.ldap.core.ContextMapperpublic Set<String> getRequiredLdapAttributes()
ContextMapperWithRequiredAttributesContextMapperWithRequiredAttributes.mapFromContext(Object) will
be called on the results. If an implementation returns null then all attributes will
be requested.getRequiredLdapAttributes in interface ContextMapperWithRequiredAttributes<NamedLdapEntity>null for allCopyright © 2019 Atlassian. All rights reserved.