Class DefaultLDAPDriver
java.lang.Object
ru.bitel.bgbilling.modules.email.server.bean.DefaultLDAPDriver
- All Implemented Interfaces:
LDAPDriver
- Direct Known Subclasses:
EximLDAPDriver
-
Field Summary
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionint
addAccount
(Account mailAccount) protected void
closeConnection
(com.novell.ldap.LDAPConnection con) int
deleteAccount
(Account mailAccount) protected abstract com.novell.ldap.LDAPAttributeSet
getAccountAttributeSet
(Account account) protected abstract String
getAccountDN
(Account account) protected com.novell.ldap.LDAPConnection
void
init
(Domain domain, ParameterMap params) int
updateAccount
(Account mailAccount)
-
Field Details
-
domain
-
params
-
-
Constructor Details
-
DefaultLDAPDriver
public DefaultLDAPDriver()
-
-
Method Details
-
init
- Specified by:
init
in interfaceLDAPDriver
-
getConnection
protected com.novell.ldap.LDAPConnection getConnection() -
closeConnection
protected void closeConnection(com.novell.ldap.LDAPConnection con) -
deleteAccount
- Specified by:
deleteAccount
in interfaceLDAPDriver
-
addAccount
- Specified by:
addAccount
in interfaceLDAPDriver
-
updateAccount
- Specified by:
updateAccount
in interfaceLDAPDriver
-
getAccountDN
-
getAccountAttributeSet
-