Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.5.0, 0.6.0
-
None
-
None
Description
I was doing testing on basic error scenarios and found that :
If any exception occurs during deletion of aliasname from a cluster , error message displays "Failed to add credential" ( which is misleading).
public void removeCredential(String alias, KeyStore ks) { if (ks != null) { try { if (ks.containsAlias(alias)) { ks.deleteEntry(alias); } } catch (KeyStoreException e) { LOG.failedToAddCredential(e); } } }