com.atlassian.crowd.integration.directory.connector.mapper.attribute.group
Class RFC2307MemberUidMapper

java.lang.Object
  extended by com.atlassian.crowd.integration.directory.connector.mapper.attribute.group.RFC2307MemberUidMapper
All Implemented Interfaces:
AttributeMapper

public class RFC2307MemberUidMapper
extends java.lang.Object
implements AttributeMapper


Field Summary
static java.lang.String ATTRIBUTE_KEY
           
 
Constructor Summary
RFC2307MemberUidMapper(java.lang.String groupMemberAttribute)
           
 
Method Summary
 java.lang.String getKey()
          Get the key to use when storing the attribute on an entity.
 java.util.List<java.lang.String> getValues(org.springframework.ldap.core.DirContextAdapter ctx)
          Map the value of the key from the directory context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_KEY

public static final java.lang.String ATTRIBUTE_KEY
See Also:
Constant Field Values
Constructor Detail

RFC2307MemberUidMapper

public RFC2307MemberUidMapper(java.lang.String groupMemberAttribute)
Method Detail

getKey

public java.lang.String getKey()
Description copied from interface: AttributeMapper
Get the key to use when storing the attribute on an entity.

Specified by:
getKey in interface AttributeMapper
Returns:
non-null key.

getValues

public java.util.List<java.lang.String> getValues(org.springframework.ldap.core.DirContextAdapter ctx)
                                           throws java.lang.Exception
Description copied from interface: AttributeMapper
Map the value of the key from the directory context.

Specified by:
getValues in interface AttributeMapper
Parameters:
ctx - directory context containing attributes.
Returns:
values.
Throws:
java.lang.Exception - error retrieving value. The attribute will not be set.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.