|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeMapper
Maps a single attribute for an entity. This is used for CUSTOM attributes.
Mandatory or field-level attributes are mapped via theLDAPUserAttributesMapper
and the LDAPGroupAttributesMapper
.
Method Summary | |
---|---|
java.lang.String |
getKey()
Get the key to use when storing the attribute on an entity. |
java.util.Set<java.lang.String> |
getValues(org.springframework.ldap.core.DirContextAdapter ctx)
Map the value of the key from the directory context. |
Method Detail |
---|
java.lang.String getKey()
java.util.Set<java.lang.String> getValues(org.springframework.ldap.core.DirContextAdapter ctx) throws java.lang.Exception
ctx
- directory context containing attributes.
java.lang.Exception
- error retrieving value. The attribute will not be set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |