Class AMPasswordUtil

java.lang.Object
com.iplanet.am.util.AMPasswordUtil

@SupportedAll public class AMPasswordUtil extends Object
This class which contains utilities to encrypt and decrypt attribute value of password type.
  • Constructor Details

    • AMPasswordUtil

      public AMPasswordUtil()
  • Method Details

    • encrypt

      public static String encrypt(String password)
      Encrypts the password.
      Parameters:
      password - The password string.
      Returns:
      The encrypted password.
    • decrypt

      public static String decrypt(String encrypted)
      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.