com.liferay.portal.security.ldap
Class DefaultLDAPToPortalConverter
java.lang.Object
com.liferay.portal.security.ldap.DefaultLDAPToPortalConverter
- All Implemented Interfaces:
- LDAPToPortalConverter
public class DefaultLDAPToPortalConverter
- extends Object
- implements LDAPToPortalConverter
Method Summary |
protected Map<String,String[]> |
getExpandoAttributes(Attributes attributes,
Properties expandoMappings)
|
protected int |
getListTypeId(Attributes attributes,
Properties contactMappings,
String contactMappingsKey,
String listTypeType)
|
LDAPGroup |
importLDAPGroup(long companyId,
Attributes attributes,
Properties groupMappings)
|
LDAPUser |
importLDAPUser(long companyId,
Attributes attributes,
Properties userMappings,
Properties userExpandoMappings,
Properties contactMappings,
Properties contactExpandoMappings,
String password)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLDAPToPortalConverter
public DefaultLDAPToPortalConverter()
importLDAPGroup
public LDAPGroup importLDAPGroup(long companyId,
Attributes attributes,
Properties groupMappings)
throws Exception
- Specified by:
importLDAPGroup
in interface LDAPToPortalConverter
- Throws:
Exception
importLDAPUser
public LDAPUser importLDAPUser(long companyId,
Attributes attributes,
Properties userMappings,
Properties userExpandoMappings,
Properties contactMappings,
Properties contactExpandoMappings,
String password)
throws Exception
- Specified by:
importLDAPUser
in interface LDAPToPortalConverter
- Throws:
Exception
getExpandoAttributes
protected Map<String,String[]> getExpandoAttributes(Attributes attributes,
Properties expandoMappings)
throws NamingException
- Throws:
NamingException
getListTypeId
protected int getListTypeId(Attributes attributes,
Properties contactMappings,
String contactMappingsKey,
String listTypeType)
throws Exception
- Throws:
Exception