public class LDAPSettingsUtil
extends java.lang.Object
| Constructor and Description |
|---|
LDAPSettingsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getAuthSearchFilter(long ldapServerId,
long companyId,
java.lang.String emailAddress,
java.lang.String screenName,
java.lang.String userId) |
static java.util.Properties |
getContactExpandoMappings(long ldapServerId,
long companyId) |
static java.util.Properties |
getContactMappings(long ldapServerId,
long companyId) |
static java.util.Properties |
getGroupMappings(long ldapServerId,
long companyId) |
static long |
getPreferredLDAPServerId(long companyId,
java.lang.String screenName) |
static java.lang.String |
getPropertyPostfix(long ldapServerId) |
static java.util.Properties |
getUserExpandoMappings(long ldapServerId,
long companyId) |
static java.util.Properties |
getUserMappings(long ldapServerId,
long companyId) |
static boolean |
isExportEnabled(long companyId) |
static boolean |
isExportGroupEnabled(long companyId) |
static boolean |
isImportEnabled(long companyId) |
static boolean |
isImportOnStartup(long companyId) |
static boolean |
isPasswordPolicyEnabled(long companyId) |
public static java.lang.String getAuthSearchFilter(long ldapServerId,
long companyId,
java.lang.String emailAddress,
java.lang.String screenName,
java.lang.String userId)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.Properties getContactExpandoMappings(long ldapServerId,
long companyId)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.Properties getContactMappings(long ldapServerId,
long companyId)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.Properties getGroupMappings(long ldapServerId,
long companyId)
throws java.lang.Exception
java.lang.Exceptionpublic static long getPreferredLDAPServerId(long companyId,
java.lang.String screenName)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static java.lang.String getPropertyPostfix(long ldapServerId)
public static java.util.Properties getUserExpandoMappings(long ldapServerId,
long companyId)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.Properties getUserMappings(long ldapServerId,
long companyId)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean isExportEnabled(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static boolean isExportGroupEnabled(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static boolean isImportEnabled(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static boolean isImportOnStartup(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic static boolean isPasswordPolicyEnabled(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException