public class ExternalIdContextMapper extends Object implements ContextMapperWithRequiredAttributes<String>
Constructor and Description |
---|
ExternalIdContextMapper(LDAPPropertiesMapper ldapPropertiesMapper) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getRequiredLdapAttributes()
Returns the LDAP attributes that should be requested in a search where
ContextMapperWithRequiredAttributes.mapFromContext(Object) will
be called on the results. |
String |
mapFromContext(Object ctx)
Returns objectGUID.
|
public ExternalIdContextMapper(LDAPPropertiesMapper ldapPropertiesMapper)
public String mapFromContext(Object ctx)
mapFromContext
in interface ContextMapperWithRequiredAttributes<String>
mapFromContext
in interface org.springframework.ldap.core.ContextMapper
public Set<String> getRequiredLdapAttributes()
ContextMapperWithRequiredAttributes
ContextMapperWithRequiredAttributes.mapFromContext(Object)
will
be called on the results. If an implementation returns null
then all attributes will
be requested.getRequiredLdapAttributes
in interface ContextMapperWithRequiredAttributes<String>
null
for allCopyright © 2017 Atlassian. All rights reserved.