Package com.logicaldoc.ldap.model
Class UserAttributeMapper
- java.lang.Object
-
- com.logicaldoc.ldap.model.UserAttributeMapper
-
- All Implemented Interfaces:
org.springframework.ldap.core.ContextMapper
public class UserAttributeMapper extends Object implements org.springframework.ldap.core.ContextMapper
Maps LDAP attributes into User attributes- Since:
- 4.5
- Author:
- Sebastian Wenzky
-
-
Constructor Summary
Constructors Constructor Description UserAttributeMapper(LDAPServer server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
mapFromAttributes(Attributes attributes)
Object
mapFromContext(Object arg)
-
-
-
Constructor Detail
-
UserAttributeMapper
public UserAttributeMapper(LDAPServer server)
-
-
Method Detail
-
mapFromContext
public Object mapFromContext(Object arg)
- Specified by:
mapFromContext
in interfaceorg.springframework.ldap.core.ContextMapper
-
mapFromAttributes
public Object mapFromAttributes(Attributes attributes) throws NamingException
- Throws:
NamingException
-
-