com.netscape.cmsutil.password
Class PlainPasswordFile

java.lang.Object
  extended by com.netscape.cmsutil.password.PlainPasswordFile
All Implemented Interfaces:
IPasswordStore

public class PlainPasswordFile
extends java.lang.Object
implements IPasswordStore


Constructor Summary
PlainPasswordFile()
           
 
Method Summary
 void commit()
           
 java.lang.String getPassword(java.lang.String tag)
           
 java.util.Enumeration getTags()
           
 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

PlainPasswordFile

public PlainPasswordFile()
Method Detail

init

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

getPassword

public java.lang.String getPassword(java.lang.String tag)
Specified by:
getPassword in interface IPasswordStore

getTags

public java.util.Enumeration getTags()
Specified by:
getTags in interface IPasswordStore

putPassword

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

commit

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