com.liferay.portal.security.ldap
Class PortalLDAPImporterUtil
java.lang.Object
com.liferay.portal.security.ldap.PortalLDAPImporterUtil
public class PortalLDAPImporterUtil
- extends Object
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 |
PortalLDAPImporterUtil
public PortalLDAPImporterUtil()
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)