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

Nicolas Capponi
23.29.2013 7803732fe0f46a8f3e162e582a13bd506b2f3962
refs
author Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, September 23, 2013 12:29 +0200
committer Nicolas Capponi <nicolas.capponi@forgerock.com>
Monday, September 23, 2013 12:29 +0200
commit7803732fe0f46a8f3e162e582a13bd506b2f3962
tree 2c6026b435d2d1e800d7d087bb05bf20f75d2066 tree | zip | gz
parent 22fa8e6166294016e7250c797b40029641a70dc4 view | diff
Fix OPENDJ-737 - OpenDJ Administration Connector KeyStore Pin File must be defined and non empty
Review CR-2344

NPE occurs in AdministrationConnector#createSelfSignedCertificateIfNeeded method.
To avoid this, now attempt to create certificate only if initial setup has not been changed.

* AdministrationConnector.java :
- completed method createSelfSignedCertificateIfNeeded to add more checks to detect when initial setup has changed
- added method hasDefaultConfigChanged to isolate the check

* No unit test added, functional test to be added
1 files modified
37 ■■■■ changed files
opends/src/server/org/opends/server/admin/AdministrationConnector.java 37 ●●●● diff | view | raw | blame | history