Class LDAPSettingsUtil
Object
com.liferay.portal.kernel.security.ldap.LDAPSettingsUtil
- Author:
- Edward Han
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
getContactExpandoMappings
(long ldapServerId, long companyId) static Properties
getContactMappings
(long ldapServerId, long companyId) static String[]
getErrorPasswordHistoryKeywords
(long companyId) static Properties
getGroupMappings
(long ldapServerId, long companyId) static long
getPreferredLDAPServerId
(long companyId, String screenName) static String
getPropertyPostfix
(long ldapServerId) static Properties
getUserExpandoMappings
(long ldapServerId, long companyId) static 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) static boolean
isPasswordPolicyEnabled
(long ldapServerId, long companyId)
-
Constructor Details
-
LDAPSettingsUtil
public LDAPSettingsUtil()
-
-
Method Details
-
getContactExpandoMappings
public static Properties getContactExpandoMappings(long ldapServerId, long companyId) throws Exception - Throws:
Exception
-
getContactMappings
- Throws:
Exception
-
getErrorPasswordHistoryKeywords
-
getGroupMappings
- Throws:
Exception
-
getPreferredLDAPServerId
-
getPropertyPostfix
-
getUserExpandoMappings
- Throws:
Exception
-
getUserMappings
- Throws:
Exception
-
isExportEnabled
public static boolean isExportEnabled(long companyId) -
isExportGroupEnabled
public static boolean isExportGroupEnabled(long companyId) -
isImportEnabled
public static boolean isImportEnabled(long companyId) -
isImportOnStartup
public static boolean isImportOnStartup(long companyId) -
isPasswordPolicyEnabled
public static boolean isPasswordPolicyEnabled(long companyId) -
isPasswordPolicyEnabled
public static boolean isPasswordPolicyEnabled(long ldapServerId, long companyId)
-