com.netscape.cmsutil.password
Class PlainPasswordWriter

java.lang.Object
  extended by com.netscape.cmsutil.password.PlainPasswordWriter
All Implemented Interfaces:
IPasswordWriter

public class PlainPasswordWriter
extends java.lang.Object
implements IPasswordWriter


Constructor Summary
PlainPasswordWriter()
           
 
Method Summary
 void commit()
           
 void init(java.lang.String pwdPath)
           
 java.lang.Object putPassword(java.lang.String tag, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainPasswordWriter

public PlainPasswordWriter()
Method Detail

init

public void init(java.lang.String pwdPath)
          throws java.io.IOException
Specified by:
init in interface IPasswordWriter
Throws:
java.io.IOException

putPassword

public java.lang.Object putPassword(java.lang.String tag,
                                    java.lang.String password)
Specified by:
putPassword in interface IPasswordWriter

commit

public void commit()
            throws java.io.IOException,
                   java.lang.ClassCastException,
                   java.lang.NullPointerException
Specified by:
commit in interface IPasswordWriter
Throws:
java.io.IOException
java.lang.ClassCastException
java.lang.NullPointerException