Package com.iplanet.services.ldap
Class ServerConfigMgr
- java.lang.Object
-
- com.iplanet.services.ldap.ServerConfigMgr
-
public class ServerConfigMgr extends Object
The classServiceConfigMgrprovides interfaces to set the directory server information such as hostname, port number, admin DN and password, and proxy user DN and password.
-
-
Constructor Summary
Constructors Constructor Description ServerConfigMgr()Constructor that get the serverconfig.xml file and gets the XML document.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)voidsave()Stores the directory server configuration information to the file system.voidsetAdminUserPassword(String oldPassword, String newPassword)Sets the admin user's password.protected voidsetProxyUserPassword(String oldPassword, String newPassword)Sets the proxy user's password.
-
-
-
Method Detail
-
main
public static void main(String[] args)
-
setAdminUserPassword
public void setAdminUserPassword(String oldPassword, String newPassword) throws Exception
Sets the admin user's password.- Throws:
Exception
-
setProxyUserPassword
protected void setProxyUserPassword(String oldPassword, String newPassword) throws Exception
Sets the proxy user's password.- Throws:
Exception
-
-