Password Decryption

From wiki.searchtechnologies.com
Jump to: navigation, search

For Information on Aspire 3.1 Click Here

Add password decryption to your component

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.
   ...
}

...
...