Liferay 6.1.2-ce-ga3

com.liferay.portal.security.ldap
Class DefaultLDAPToPortalConverter

java.lang.Object
  extended by com.liferay.portal.security.ldap.DefaultLDAPToPortalConverter
All Implemented Interfaces:
LDAPToPortalConverter

public class DefaultLDAPToPortalConverter
extends Object
implements LDAPToPortalConverter


Constructor Summary
DefaultLDAPToPortalConverter()
           
 
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
 

Constructor Detail

DefaultLDAPToPortalConverter

public DefaultLDAPToPortalConverter()
Method Detail

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

Liferay 6.1.2-ce-ga3