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

Fabio Pistolesi
25.54.2016 b93c8bf6f5bb9560e9ba219eb6be1ea9bb12f3be
refs
author Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Wednesday, May 25, 2016 11:54 +0200
committer Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Thursday, May 26, 2016 13:15 +0200
commitb93c8bf6f5bb9560e9ba219eb6be1ea9bb12f3be
tree 0b131d6ea3df30831034b4e70afc7884038efbbc tree | zip | gz
parent ffdc9e43e8135f1fba633d863a6c487ea09b1fb2 view | diff
OPENDJ-3027 Delete all references to old keys when importing new ones via replication

Cipher and MAC keys are cached in memory, when a new key arrives with the same parameters as an existing key,
it should replace it, but the existing is still referenced in the internal cache, leading to non-determinism when looking for a key.
At the present time only one key should exist for a given algorithm/key length pair.
2 files modified
51 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/crypto/CryptoManagerImpl.java 14 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/test/java/org/opends/server/crypto/CryptoManagerTestCase.java 37 ●●●●● diff | view | raw | blame | history