Liferay 6.0.5

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 Properties getGroupMappings(long ldapServerId, long companyId)
           
static String getPropertyPostfix(long ldapServerId)
           
static Properties getUserExpandoMappings(long ldapServerId, long companyId)
           
static Properties getUserMappings(long ldapServerId, long companyId)
           
static boolean isAuthEnabled(long companyId)
           
static boolean isExportEnabled(long companyId)
           
static boolean isImportEnabled(long companyId)
           
static boolean isImportOnStartup(long companyId)
           
static boolean isNtlmEnabled(long companyId)
           
static boolean isPasswordPolicyEnabled(long companyId)
           
static boolean isSiteMinderEnabled(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 SystemException
Throws:
SystemException

getContactExpandoMappings

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

getContactMappings

public static Properties getContactMappings(long ldapServerId,
                                            long companyId)
                                     throws IOException,
                                            SystemException
Throws:
IOException
SystemException

getGroupMappings

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

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

isAuthEnabled

public static boolean isAuthEnabled(long companyId)
                             throws SystemException
Throws:
SystemException

isExportEnabled

public static boolean isExportEnabled(long companyId)
                               throws SystemException
Throws:
SystemException

isImportEnabled

public static boolean isImportEnabled(long companyId)
                               throws SystemException
Throws:
SystemException

isImportOnStartup

public static boolean isImportOnStartup(long companyId)
                                 throws SystemException
Throws:
SystemException

isNtlmEnabled

public static boolean isNtlmEnabled(long companyId)
                             throws SystemException
Throws:
SystemException

isPasswordPolicyEnabled

public static boolean isPasswordPolicyEnabled(long companyId)
                                       throws SystemException
Throws:
SystemException

isSiteMinderEnabled

public static boolean isSiteMinderEnabled(long companyId)
                                   throws SystemException
Throws:
SystemException

Liferay 6.0.5