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

Nicolas Capponi
23.29.2013 8c85b45da99d1a09e62fe0cc0ee246610dbfe771
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
commit8c85b45da99d1a09e62fe0cc0ee246610dbfe771
tree f64beffdb77dffd80d0d04afa8dd0c5cb9821a0a tree | zip | gz
parent 4568f8a446019ff1459f3d7ac9344f0b95a08ce6 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
opendj-sdk/opends/src/server/org/opends/server/admin/AdministrationConnector.java 37 ●●●● diff | view | raw | blame | history