Package com.iplanet.am.util
Class AMPasswordUtil
java.lang.Object
com.iplanet.am.util.AMPasswordUtil
This class which contains utilities to encrypt and decrypt attribute value of
password type.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AMPasswordUtil
public AMPasswordUtil()
-
-
Method Details
-
encrypt
Encrypts the password.- Parameters:
password
- The password string.- Returns:
- The encrypted password.
-
decrypt
Decrypts the encrypted password. If the string cannot be decrypted the original string passed in will be returned.- Parameters:
encrypted
- encrypted string.- Returns:
- The decrypted password.
-