Add the following code before using the password (don't add any dependency to your component):
... ... //Add Java block to limit the life time of decrypted password. { String decryptedPassword = SecurityUtilities.decryptString(encryptedPassword); //Use the decryptedPassword. ... } ... ...