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

jcambon
18.08.2009 2c0e5b1e7ec6b43a79bd3ce73d339edcdd9ba47c
refs
author jcambon <jcambon@localhost>
Wednesday, February 18, 2009 18:08 +0100
committer jcambon <jcambon@localhost>
Wednesday, February 18, 2009 18:08 +0100
commit2c0e5b1e7ec6b43a79bd3ce73d339edcdd9ba47c
tree 7642a55afedb228a43987bb50f024eb8b3efee6d tree | zip | gz
parent 17d8f981c0b523387655fc74939b11c8044f622a view | diff
Fix for issue #3625 : CLIs : Avoid certificate interaction in interactive mode

This fix improves the ease of use of dsconfig and other CLIs:

1. If the CLI is launched in the same instance than the server,
there is no anymore the user interaction for certificate checking.
The truststore used is the one of the administration connector (which is always present).

2. The default port is the one of the local configuration file (instead of 4444).


CLIs that will take benefit of this are :
- dsconfig
- status
- dsreplication
- manage-tasks
- uninstall

Note that this change does not break any interface: it just simplifies the user interaction in case of CLI and server running in the same instance (which is what we usually do).
In non-interactive mode, in this case the "-X/--trustAll" is not required anymore (although it can still be used).

4 files modified
166 ■■■■ changed files
opendj-sdk/opends/src/messages/messages/dsconfig.properties 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java 1 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/status/StatusCli.java 28 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/cli/LDAPConnectionConsoleInteraction.java 135 ●●●●● diff | view | raw | blame | history