Class DefaultLDAPDriver
java.lang.Object
ru.bitel.bgbilling.modules.email.server.bean.DefaultLDAPDriver
- All Implemented Interfaces:
LDAPDriver
- Direct Known Subclasses:
EximLDAPDriver
-
Field Summary
FieldsFields inherited from interface ru.bitel.bgbilling.modules.email.server.bean.LDAPDriver
STATUS_ACCOUNT_USED, STATUS_ADD_ERROR, STATUS_CONNECT_ERROR, STATUS_DELETE_ERROR, STATUS_OK, STATUS_UPDATE_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddAccount(Account mailAccount) protected voidcloseConnection(com.novell.ldap.LDAPConnection con) intdeleteAccount(Account mailAccount) protected abstract com.novell.ldap.LDAPAttributeSetgetAccountAttributeSet(Account account) protected abstract StringgetAccountDN(Account account) protected com.novell.ldap.LDAPConnectionvoidinit(Domain domain, ParameterMap params) intupdateAccount(Account mailAccount)
-
Field Details
-
domain
-
params
-
-
Constructor Details
-
DefaultLDAPDriver
public DefaultLDAPDriver()
-
-
Method Details
-
init
- Specified by:
initin interfaceLDAPDriver
-
getConnection
protected com.novell.ldap.LDAPConnection getConnection() -
closeConnection
protected void closeConnection(com.novell.ldap.LDAPConnection con) -
deleteAccount
- Specified by:
deleteAccountin interfaceLDAPDriver
-
addAccount
- Specified by:
addAccountin interfaceLDAPDriver
-
updateAccount
- Specified by:
updateAccountin interfaceLDAPDriver
-
getAccountDN
-
getAccountAttributeSet
-