com.atlassian.crowd.integration.directory.connector.mapper.attribute
Interface AttributeMapper

All Known Implementing Classes:
DNAttributeMapper, ObjectGUIDAttributeMapper, USNChangedAttributeMapper

public interface AttributeMapper

Maps a single attribute for an entity.


Method Summary
 java.lang.String getKey()
          Get the key to use when storing the attribute on an entity.
 java.lang.String getValue(org.springframework.ldap.core.DirContextAdapter ctx)
          Map the value of the key from the directory context.
 

Method Detail

getKey

java.lang.String getKey()
Get the key to use when storing the attribute on an entity.

Returns:
non-null key.

getValue

java.lang.String getValue(org.springframework.ldap.core.DirContextAdapter ctx)
                          throws java.lang.Exception
Map the value of the key from the directory context.

Parameters:
-
Returns:
value.
Throws:
java.lang.Exception - error retrieving value. The attribute will not be set.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.