com.iplanet.am.util
Class AMPasswordUtil

java.lang.Object
  |
  +--com.iplanet.am.util.AMPasswordUtil

public class AMPasswordUtil
extends java.lang.Object


Constructor Summary
AMPasswordUtil()
           
 
Method Summary
static java.lang.String decrypt(java.lang.String encrypted)
          Decrypts the encrypted password.
static java.lang.String encrypt(java.lang.String password)
          Encrypts the password
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AMPasswordUtil

public AMPasswordUtil()
Method Detail

encrypt

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

decrypt

public static java.lang.String decrypt(java.lang.String encrypted)
Decrypts the encrypted password. If the string cannot be decrypted the orgininal string passed in will be returned.
Parameters:
password - The password string.
Returns:
The decrypted password.