com.liferay.portal.security.ldap
Class PortalLDAPImporter
java.lang.Object
com.liferay.portal.security.ldap.PortalLDAPImporter
public class PortalLDAPImporter
- extends java.lang.Object
View Source
- Author:
- Edward Han, Michael C. Han, Brian Wing Shun Chan
Method Summary |
static void |
importFromLDAP()
|
static void |
importFromLDAP(long companyId)
|
static void |
importFromLDAP(long ldapServerId,
long companyId)
|
static com.liferay.portal.model.UserGroup |
importLDAPGroup(long ldapServerId,
long companyId,
javax.naming.ldap.LdapContext ldapContext,
javax.naming.directory.Attributes attributes,
boolean importGroupMembership)
|
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMPORT_BY_GROUP
public static final java.lang.String IMPORT_BY_GROUP
- See Also:
- Constant Field Values
IMPORT_BY_USER
public static final java.lang.String IMPORT_BY_USER
- See Also:
- Constant Field Values
PortalLDAPImporter
public PortalLDAPImporter()
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
importLDAPGroup
public static com.liferay.portal.model.UserGroup importLDAPGroup(long ldapServerId,
long companyId,
javax.naming.ldap.LdapContext ldapContext,
javax.naming.directory.Attributes attributes,
boolean importGroupMembership)
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