com.liferay.portal.security.ldap
Class LDAPSettingsUtil
java.lang.Object
com.liferay.portal.security.ldap.LDAPSettingsUtil
public class LDAPSettingsUtil
- extends Object
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 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 |
LDAPSettingsUtil
public LDAPSettingsUtil()
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
getGroupMappings
public static Properties getGroupMappings(long ldapServerId,
long companyId)
throws Exception
- Throws:
Exception
getPreferredLDAPServerId
public static long getPreferredLDAPServerId(long companyId,
String screenName)
throws SystemException
- Throws:
SystemException
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)
throws SystemException
- Throws:
SystemException
isExportGroupEnabled
public static boolean isExportGroupEnabled(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
isPasswordPolicyEnabled
public static boolean isPasswordPolicyEnabled(long companyId)
throws SystemException
- Throws:
SystemException