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

Matthew Swift
25.52.2011 4ba18bd84e711f2a77f1de9b66fb9b52730d1d46
refs
author Matthew Swift <matthew.swift@forgerock.com>
Friday, November 25, 2011 21:52 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Friday, November 25, 2011 21:52 +0100
commit4ba18bd84e711f2a77f1de9b66fb9b52730d1d46
tree 6ab48ee3682e792b84bf04f76410692201992f38 tree | zip | gz
parent 356bc162a0d9d004214344a79325aebc12063834 view | diff
Fix OPENDJ-363: Make it more obvious in the setup tool that the fully-qualified hostname is critical for all secured connections

* improved heuristic for determining a default fully qualified host name. Reverse DNS lookups timeout after 1 second in order to avoid long delays if DNS is broken
* changed usage for host name which makes it clearer that the host name is required regardless of LDAPS/StartTLS configuration
* changed interactive CLI so that it always prompts for the fully qualified hostname
* changed the setup tool to make it clearer that it is prompting for the fully qualified hostname.

Tested on laptop with DNS and VM without DNS.
5 files modified
161 ■■■■ changed files
opends/src/messages/messages/quicksetup.properties 4 ●●●● diff | view | raw | blame | history
opends/src/messages/messages/tools.properties 14 ●●●●● diff | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/UserData.java 121 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDS.java 18 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java 4 ●●●● diff | view | raw | blame | history