Liferay 6.1.2-ce-ga3

com.liferay.portal.security.ldap
Class PortalLDAPImporterUtil

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

public class PortalLDAPImporterUtil
extends Object


Constructor Summary
PortalLDAPImporterUtil()
           
 
Method Summary
static PortalLDAPImporter getPortalLDAPImporter()
           
static void importFromLDAP()
           
static void importFromLDAP(long companyId)
           
static void importFromLDAP(long ldapServerId, long companyId)
           
static User importLDAPUser(long ldapServerId, long companyId, LdapContext ldapContext, Attributes attributes, String password)
           
static User importLDAPUser(long ldapServerId, long companyId, String emailAddress, String screenName)
           
static User importLDAPUser(long companyId, String emailAddress, String screenName)
           
static User importLDAPUserByScreenName(long companyId, String screenName)
           
 void setPortalLDAPImporter(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

getPortalLDAPImporter

public static PortalLDAPImporter getPortalLDAPImporter()

importFromLDAP

public static void importFromLDAP()
                           throws Exception
Throws:
Exception

importFromLDAP

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

importFromLDAP

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

importLDAPUser

public static User importLDAPUser(long ldapServerId,
                                  long companyId,
                                  LdapContext ldapContext,
                                  Attributes attributes,
                                  String password)
                           throws Exception
Throws:
Exception

importLDAPUser

public static User importLDAPUser(long ldapServerId,
                                  long companyId,
                                  String emailAddress,
                                  String screenName)
                           throws Exception
Throws:
Exception

importLDAPUser

public static User importLDAPUser(long companyId,
                                  String emailAddress,
                                  String screenName)
                           throws Exception
Throws:
Exception

importLDAPUserByScreenName

public static User importLDAPUserByScreenName(long companyId,
                                              String screenName)
                                       throws Exception
Throws:
Exception

setPortalLDAPImporter

public void setPortalLDAPImporter(PortalLDAPImporter portalLDAPImporter)

Liferay 6.1.2-ce-ga3