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

Matthew Swift
22.08.2015 16204ee68758e8a08375c605390d633ca915f824
refs
author Matthew Swift <matthew.swift@forgerock.com>
Tuesday, December 22, 2015 18:08 +0100
committer Matthew Swift <matthew.swift@forgerock.com>
Tuesday, December 22, 2015 18:31 +0100
commit16204ee68758e8a08375c605390d633ca915f824
tree 64c1adc16ea93137747e787538c0b2d7390a243f tree | zip | gz
parent 643ded69ff967ae56735a07f72688efa89fc906a view | diff
OPENDJ-2516: improve configuration validation for tamper proof logging

This is a partial fix for OPENDJ-2516 since it traps most configuration
mistakes:

* verify that the key store file and pin properties are specified when
tamper evident logging is enabled
* verify that the key store file and pin file are readable and not
empty.

This change does not validate the content of the keystore which should
really be the responsibility of CAUD. However, the error reporting in
this case does not seem to be working very well, hence this change is
just a partial fix.
3 files modified
110 ■■■■■ changed files
opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/CsvFileAccessLogPublisherConfiguration.xml 22 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/loggers/CsvFileAccessLogPublisher.java 78 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/messages/org/opends/messages/logger.properties 10 ●●●● diff | view | raw | blame | history