Class LDAPSettingsUtil
Object
com.liferay.portal.kernel.security.ldap.LDAPSettingsUtil
- Author:
- Edward Han
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesgetContactExpandoMappings(long ldapServerId, long companyId) static PropertiesgetContactMappings(long ldapServerId, long companyId) static String[]getErrorPasswordHistoryKeywords(long companyId) static PropertiesgetGroupMappings(long ldapServerId, long companyId) static longgetPreferredLDAPServerId(long companyId, String screenName) static StringgetPropertyPostfix(long ldapServerId) static PropertiesgetUserExpandoMappings(long ldapServerId, long companyId) static PropertiesgetUserMappings(long ldapServerId, long companyId) static booleanisExportEnabled(long companyId) static booleanisExportGroupEnabled(long companyId) static booleanisImportEnabled(long companyId) static booleanisImportOnStartup(long companyId) static booleanisPasswordPolicyEnabled(long companyId) static booleanisPasswordPolicyEnabled(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)
-