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

Matthew Swift
25.52.2011 a687669a25017ddd085d605d66d1dc6da105eae0
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
commita687669a25017ddd085d605d66d1dc6da105eae0
tree fad3bce3454e2966de5861d125aceb6eb721b6a4 tree | zip | gz
parent e1a2d06c73c3bd7415f795f89d901474f84d6049 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
opendj-sdk/opends/src/messages/messages/quicksetup.properties 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/tools.properties 14 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/UserData.java 121 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDS.java 18 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/InstallDSArgumentParser.java 4 ●●●● diff | view | raw | blame | history