|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.apacheds.impl.ApacheLDAPServer
public class ApacheLDAPServer
An implementation of LDAP server. This wraps apacheds implementation and provides an abstract interface to operate on directory server.
| Constructor Summary | |
|---|---|
ApacheLDAPServer()
|
|
| Method Summary | |
|---|---|
void |
changeConnectionUserPassword(String password)
Changes the connection user password. |
String |
getConnectionDomainName()
Gets system admins connection domain name. |
PartitionManager |
getPartitionManager()
Gets the partition manager from LDAP server. |
org.apache.directory.server.core.DirectoryService |
getService()
|
void |
init(LDAPConfiguration configurations)
Initializes directory service. |
protected void |
initializeDefaultDirectoryService()
|
protected void |
initializeLDAPServer()
|
void |
setService(org.apache.directory.server.core.DirectoryService service)
|
void |
start()
Will start LDAP server. |
void |
stop()
Stopes the LDAP server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApacheLDAPServer()
| Method Detail |
|---|
public void init(LDAPConfiguration configurations)
throws DirectoryServerException
LDAPServer
init in interface LDAPServerconfigurations - This wraps LDAP specific configurations. This includes information
such as ldap running port, kdc running port, whether to enable kdc server etc ...
DirectoryServerException - If initialization failed.public org.apache.directory.server.core.DirectoryService getService()
public void setService(org.apache.directory.server.core.DirectoryService service)
public void start()
throws DirectoryServerException
LDAPServer
start in interface LDAPServerDirectoryServerException - If unable to start LDAP server.
public void stop()
throws DirectoryServerException
LDAPServer
stop in interface LDAPServerDirectoryServerException - If unable to stop LDAP server.
public PartitionManager getPartitionManager()
throws DirectoryServerException
LDAPServer
getPartitionManager in interface LDAPServerPartitionManager
DirectoryServerException - If unable to extract PartitionManager from LDAP service
context.
protected void initializeDefaultDirectoryService()
throws DirectoryServerException
DirectoryServerException
public String getConnectionDomainName()
throws DirectoryServerException
LDAPServer
getConnectionDomainName in interface LDAPServerDirectoryServerException - If an error occurred when quarrying the admin user domain
name.
public void changeConnectionUserPassword(String password)
throws DirectoryServerException
LDAPServer
changeConnectionUserPassword in interface LDAPServerpassword - New password.
DirectoryServerException - If an error occurred while changing the password.
protected void initializeLDAPServer()
throws DirectoryServerException
DirectoryServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||