com.caucho.admin
Class Password

java.lang.Object
  extended by com.caucho.admin.Password
All Implemented Interfaces:
PasswordApi

public class Password
extends java.lang.Object
implements PasswordApi


Constructor Summary
Password()
           
 
Method Summary
 java.lang.String encrypt(java.lang.String value, java.lang.String salt)
           
 java.lang.Object replaceObject()
           
 void setSalt(java.lang.String salt)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Password

public Password()
Method Detail

setSalt

public void setSalt(java.lang.String salt)

setValue

public void setValue(java.lang.String value)

replaceObject

public java.lang.Object replaceObject()

encrypt

public java.lang.String encrypt(java.lang.String value,
                                java.lang.String salt)
                         throws java.lang.Exception
Specified by:
encrypt in interface PasswordApi
Throws:
java.lang.Exception