Class DefaultLDAPDriver

java.lang.Object
ru.bitel.bgbilling.modules.email.server.bean.DefaultLDAPDriver
All Implemented Interfaces:
LDAPDriver
Direct Known Subclasses:
EximLDAPDriver

public abstract class DefaultLDAPDriver
extends java.lang.Object
implements LDAPDriver
  • Field Details

  • Constructor Details

    • DefaultLDAPDriver

      public DefaultLDAPDriver()
  • Method Details

    • init

      public void init​(Domain domain, ParameterMap params)
      Specified by:
      init in interface LDAPDriver
    • getConnection

      protected com.novell.ldap.LDAPConnection getConnection()
    • closeConnection

      protected void closeConnection​(com.novell.ldap.LDAPConnection con)
    • deleteAccount

      public int deleteAccount​(Account mailAccount)
      Specified by:
      deleteAccount in interface LDAPDriver
    • addAccount

      public int addAccount​(Account mailAccount)
      Specified by:
      addAccount in interface LDAPDriver
    • updateAccount

      public int updateAccount​(Account mailAccount)
      Specified by:
      updateAccount in interface LDAPDriver
    • getAccountDN

      protected abstract java.lang.String getAccountDN​(Account account)
    • getAccountAttributeSet

      protected abstract com.novell.ldap.LDAPAttributeSet getAccountAttributeSet​(Account account)