mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
15.24.2008 0e3e85c1e7f2b457c46174c74bd112499d4dcdde
refs
author jvergara <jvergara@localhost>
Friday, February 15, 2008 18:24 +0100
committer jvergara <jvergara@localhost>
Friday, February 15, 2008 18:24 +0100
commit0e3e85c1e7f2b457c46174c74bd112499d4dcdde
tree b09ee45f204fc29354288355b2aedfa4f71fc729 tree | zip | gz
parent c34d7574c8610290cbc225dc5d8f58a6a26bea1e view | diff
Fix for issue 2886 (Cannot get status from running server without authenticating)

The code has been modified (with no new arguments) in order to work in a best-effort mode. If the user does not provide authentication we will display the same information independently of whether the server is running or not. We still display the messages informing that authentication is required to display some monitoring data.

The status panel code has also been updated to have the same behavior.

However it will be required anyhow to provide authentication to display monitoring information since this information is available only through LDAP.

In addition to this changes the following issues have been fixed:

1. Close the ManagementContext created by the LDAPConsoleInteraction object so that we have only one open connection to the server.
2. Fix a bug when the user chose to accept automatically certificates (the default trust manager was used in this case and we could not connect).
5 files modified
135 ■■■■■ changed files
opends/src/guitools/org/opends/guitools/statuspanel/ConfigFromLDAP.java 16 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/statuspanel/ServerStatusPooler.java 9 ●●●●● diff | view | raw | blame | history
opends/src/guitools/org/opends/guitools/statuspanel/StatusCli.java 100 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/admin_tool.properties 8 ●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/Installer.java 2 ●●● diff | view | raw | blame | history