-
Bug
-
Resolution: Done
-
Minor
-
1.2.4.Final
-
None
In PasswordKeyMapper an exception is logged with the default algorithm name instead of the algorithm used to instantiate PasswordFactory object.
PasswordKeyMapper.java
final PasswordFactory passwordFactory; try { passwordFactory = PasswordFactory.getInstance(algorithmName, providers); } catch (NoSuchAlgorithmException e) { throw log.couldNotObtainPasswordFactoryForAlgorithm(algorithmName, e); } ... try { Password password = passwordFactory.generatePassword(passwordSpec); if (log.isTraceEnabled()) { log.tracef("Key Mapper: Password credential created using algorithm column value [%s]", algorithmName); } return new PasswordCredential(password); } catch (InvalidKeySpecException e) { throw log.invalidPasswordKeySpecificationForAlgorithm(this.defaultAlgorithm, e); }