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 Properties getGroupMappings(long ldapServerId, long companyId)
037 throws Exception;
038
039 public long getPreferredLDAPServerId(long companyId, String screenName);
040
041 public String getPropertyPostfix(long ldapServerId);
042
043 public Properties getUserExpandoMappings(long ldapServerId, long companyId)
044 throws Exception;
045
046 public Properties getUserMappings(long ldapServerId, long companyId)
047 throws Exception;
048
049 public boolean isExportEnabled(long companyId);
050
051 public boolean isExportGroupEnabled(long companyId);
052
053 public boolean isImportEnabled(long companyId);
054
055 public boolean isImportOnStartup(long companyId);
056
057 public boolean isPasswordPolicyEnabled(long companyId);
058
059 }