Class LDAPSettingsUtil

Object
com.liferay.portal.kernel.security.ldap.LDAPSettingsUtil

public class LDAPSettingsUtil extends Object
Author:
Edward Han
  • Constructor Details

    • LDAPSettingsUtil

      public LDAPSettingsUtil()
  • Method Details

    • getContactExpandoMappings

      public static Properties getContactExpandoMappings(long ldapServerId, long companyId) throws Exception
      Throws:
      Exception
    • getContactMappings

      public static Properties getContactMappings(long ldapServerId, long companyId) throws Exception
      Throws:
      Exception
    • getErrorPasswordHistoryKeywords

      public static String[] getErrorPasswordHistoryKeywords(long companyId)
    • getGroupMappings

      public static Properties getGroupMappings(long ldapServerId, long companyId) throws Exception
      Throws:
      Exception
    • getPreferredLDAPServerId

      public static long getPreferredLDAPServerId(long companyId, String screenName)
    • getPropertyPostfix

      public static String getPropertyPostfix(long ldapServerId)
    • getUserExpandoMappings

      public static Properties getUserExpandoMappings(long ldapServerId, long companyId) throws Exception
      Throws:
      Exception
    • getUserMappings

      public static Properties getUserMappings(long ldapServerId, long companyId) throws Exception
      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)