com.liferay.portal.security.ldap
Class LDAPSettingsUtil

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

public class LDAPSettingsUtil
extends java.lang.Object

View Source

Author:
Edward Han, Michael C. Han, Brian Wing Shun Chan

Constructor Summary
LDAPSettingsUtil()
           
 
Method Summary
static java.lang.String getAuthSearchFilter(long ldapServerId, long companyId, java.lang.String emailAddress, java.lang.String screenName, java.lang.String userId)
           
static java.util.Properties getGroupMappings(long ldapServerId, long companyId)
           
static java.lang.String getPropertyPostfix(long ldapServerId)
           
static java.util.Properties getUserMappings(long ldapServerId, long companyId)
           
static boolean isAuthEnabled(long companyId)
          Deprecated. AuthSettingsUtil.isLDAPAuthEnabled(long)
static boolean isExportEnabled(long companyId)
           
static boolean isImportEnabled(long companyId)
           
static boolean isImportOnStartup(long companyId)
           
static boolean isNtlmEnabled(long companyId)
          Deprecated. AuthSettingsUtil.isNtlmEnabled(long)
static boolean isPasswordPolicyEnabled(long companyId)
           
static boolean isSiteMinderEnabled(long companyId)
          Deprecated. AuthSettingsUtil.isSiteMinderEnabled(long)
 
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 java.lang.String getAuthSearchFilter(long ldapServerId,
                                                   long companyId,
                                                   java.lang.String emailAddress,
                                                   java.lang.String screenName,
                                                   java.lang.String userId)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupMappings

public static java.util.Properties getGroupMappings(long ldapServerId,
                                                    long companyId)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getPropertyPostfix

public static java.lang.String getPropertyPostfix(long ldapServerId)

getUserMappings

public static java.util.Properties getUserMappings(long ldapServerId,
                                                   long companyId)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

isAuthEnabled

public static boolean isAuthEnabled(long companyId)
                             throws com.liferay.portal.SystemException
Deprecated. AuthSettingsUtil.isLDAPAuthEnabled(long)

Throws:
com.liferay.portal.SystemException

isExportEnabled

public static boolean isExportEnabled(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

isImportEnabled

public static boolean isImportEnabled(long companyId)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

isImportOnStartup

public static boolean isImportOnStartup(long companyId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

isNtlmEnabled

public static boolean isNtlmEnabled(long companyId)
                             throws com.liferay.portal.SystemException
Deprecated. AuthSettingsUtil.isNtlmEnabled(long)

Throws:
com.liferay.portal.SystemException

isPasswordPolicyEnabled

public static boolean isPasswordPolicyEnabled(long companyId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

isSiteMinderEnabled

public static boolean isSiteMinderEnabled(long companyId)
                                   throws com.liferay.portal.SystemException
Deprecated. AuthSettingsUtil.isSiteMinderEnabled(long)

Throws:
com.liferay.portal.SystemException