001
014
015 package com.liferay.portal.security.ldap;
016
017 import java.util.Properties;
018
019
022 public interface LDAPSettings {
023
024 public String getAuthSearchFilter(
025 long ldapServerId, long companyId, String emailAddress,
026 String screenName, String userId)
027 throws Exception;
028
029 public Properties getContactExpandoMappings(
030 long ldapServerId, long companyId)
031 throws Exception;
032
033 public Properties getContactMappings(long ldapServerId, long companyId)
034 throws Exception;
035
036 public String[] getErrorPasswordHistoryKeywords(long companyId);
037
038 public Properties getGroupMappings(long ldapServerId, long companyId)
039 throws Exception;
040
041 public long getPreferredLDAPServerId(long companyId, String screenName);
042
043 public String getPropertyPostfix(long ldapServerId);
044
045 public Properties getUserExpandoMappings(long ldapServerId, long companyId)
046 throws Exception;
047
048 public Properties getUserMappings(long ldapServerId, long companyId)
049 throws Exception;
050
051 public boolean isExportEnabled(long companyId);
052
053 public boolean isExportGroupEnabled(long companyId);
054
055 public boolean isImportEnabled(long companyId);
056
057 public boolean isImportOnStartup(long companyId);
058
059 public boolean isPasswordPolicyEnabled(long companyId);
060
061 }