Liferay 7.0-ce-b4

com.liferay.portal.security.ldap
Class LDAPSettingsUtil

java.lang.Object
  extended by com.liferay.portal.security.ldap.LDAPSettingsUtil

public class LDAPSettingsUtil
extends Object


Constructor Summary
LDAPSettingsUtil()
           
 
Method Summary
static String getAuthSearchFilter(long ldapServerId, long companyId, String emailAddress, String screenName, String userId)
           
static 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPSettingsUtil

public LDAPSettingsUtil()
Method Detail

getAuthSearchFilter

public static String getAuthSearchFilter(long ldapServerId,
                                         long companyId,
                                         String emailAddress,
                                         String screenName,
                                         String userId)
                                  throws Exception
Throws:
Exception

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)

Liferay 7.0-ce-b4