Liferay 7.0-ce-m3

com.liferay.portal.security.ldap
Class DefaultLDAPSettings

java.lang.Object
  extended by com.liferay.portal.security.ldap.DefaultLDAPSettings
All Implemented Interfaces:
LDAPSettings

public class DefaultLDAPSettings
extends Object
implements LDAPSettings


Constructor Summary
DefaultLDAPSettings()
           
 
Method Summary
 String getAuthSearchFilter(long ldapServerId, long companyId, String emailAddress, String screenName, String userId)
           
 Properties getContactExpandoMappings(long ldapServerId, long companyId)
           
 Properties getContactMappings(long ldapServerId, long companyId)
           
 Properties getGroupMappings(long ldapServerId, long companyId)
           
 long getPreferredLDAPServerId(long companyId, String screenName)
           
 String getPropertyPostfix(long ldapServerId)
           
 Properties getUserExpandoMappings(long ldapServerId, long companyId)
           
 Properties getUserMappings(long ldapServerId, long companyId)
           
 boolean isExportEnabled(long companyId)
           
 boolean isExportGroupEnabled(long companyId)
           
 boolean isImportEnabled(long companyId)
           
 boolean isImportOnStartup(long companyId)
           
 boolean isPasswordPolicyEnabled(long companyId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLDAPSettings

public DefaultLDAPSettings()
Method Detail

getAuthSearchFilter

public String getAuthSearchFilter(long ldapServerId,
                                  long companyId,
                                  String emailAddress,
                                  String screenName,
                                  String userId)
                           throws Exception
Specified by:
getAuthSearchFilter in interface LDAPSettings
Throws:
Exception

getContactExpandoMappings

public Properties getContactExpandoMappings(long ldapServerId,
                                            long companyId)
                                     throws Exception
Specified by:
getContactExpandoMappings in interface LDAPSettings
Throws:
Exception

getContactMappings

public Properties getContactMappings(long ldapServerId,
                                     long companyId)
                              throws Exception
Specified by:
getContactMappings in interface LDAPSettings
Throws:
Exception

getGroupMappings

public Properties getGroupMappings(long ldapServerId,
                                   long companyId)
                            throws Exception
Specified by:
getGroupMappings in interface LDAPSettings
Throws:
Exception

getPreferredLDAPServerId

public long getPreferredLDAPServerId(long companyId,
                                     String screenName)
Specified by:
getPreferredLDAPServerId in interface LDAPSettings

getPropertyPostfix

public String getPropertyPostfix(long ldapServerId)
Specified by:
getPropertyPostfix in interface LDAPSettings

getUserExpandoMappings

public Properties getUserExpandoMappings(long ldapServerId,
                                         long companyId)
                                  throws Exception
Specified by:
getUserExpandoMappings in interface LDAPSettings
Throws:
Exception

getUserMappings

public Properties getUserMappings(long ldapServerId,
                                  long companyId)
                           throws Exception
Specified by:
getUserMappings in interface LDAPSettings
Throws:
Exception

isExportEnabled

public boolean isExportEnabled(long companyId)
Specified by:
isExportEnabled in interface LDAPSettings

isExportGroupEnabled

public boolean isExportGroupEnabled(long companyId)
Specified by:
isExportGroupEnabled in interface LDAPSettings

isImportEnabled

public boolean isImportEnabled(long companyId)
Specified by:
isImportEnabled in interface LDAPSettings

isImportOnStartup

public boolean isImportOnStartup(long companyId)
Specified by:
isImportOnStartup in interface LDAPSettings

isPasswordPolicyEnabled

public boolean isPasswordPolicyEnabled(long companyId)
Specified by:
isPasswordPolicyEnabled in interface LDAPSettings

Liferay 7.0-ce-m3