com.liferay.portal.security.ldap
Class PortalLDAPImporterUtil

java.lang.Object
  extended by com.liferay.portal.security.ldap.PortalLDAPImporterUtil

public class PortalLDAPImporterUtil
extends java.lang.Object

View Source

Author:
Edward Han, Michael C. Han, Brian Wing Shun Chan

Constructor Summary
PortalLDAPImporterUtil()
           
 
Method Summary
static void importFromLDAP()
           
static void importFromLDAP(long companyId)
           
static void importFromLDAP(long ldapServerId, long companyId)
           
static com.liferay.portal.model.User importLDAPUser(long ldapServerId, long companyId, javax.naming.ldap.LdapContext ldapContext, javax.naming.directory.Attributes attributes, java.lang.String password, boolean importGroupMembership)
           
 void setPortalLDAPImporter(com.liferay.portal.security.ldap.PortalLDAPImporter portalLDAPImporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalLDAPImporterUtil

public PortalLDAPImporterUtil()
Method Detail

importFromLDAP

public static void importFromLDAP()
                           throws java.lang.Exception
Throws:
java.lang.Exception

importFromLDAP

public static void importFromLDAP(long companyId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

importFromLDAP

public static void importFromLDAP(long ldapServerId,
                                  long companyId)
                           throws java.lang.Exception
Throws:
java.lang.Exception

importLDAPUser

public static com.liferay.portal.model.User importLDAPUser(long ldapServerId,
                                                           long companyId,
                                                           javax.naming.ldap.LdapContext ldapContext,
                                                           javax.naming.directory.Attributes attributes,
                                                           java.lang.String password,
                                                           boolean importGroupMembership)
                                                    throws java.lang.Exception
Throws:
java.lang.Exception

setPortalLDAPImporter

public void setPortalLDAPImporter(com.liferay.portal.security.ldap.PortalLDAPImporter portalLDAPImporter)