com.mchange.util.impl
Class PlaintextPropertiesPasswordManager

java.lang.Object
  extended by com.mchange.util.impl.PlaintextPropertiesPasswordManager
All Implemented Interfaces:
PasswordManager

public class PlaintextPropertiesPasswordManager
extends Object
implements PasswordManager


Constructor Summary
PlaintextPropertiesPasswordManager(File propsFile)
           
 
Method Summary
 boolean updatePassword(String username, String oldPassword, String newPassword)
           
 boolean validate(String username, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaintextPropertiesPasswordManager

public PlaintextPropertiesPasswordManager(File propsFile)
                                   throws IOException
Throws:
IOException
Method Detail

validate

public boolean validate(String username,
                        String password)
                 throws IOException
Specified by:
validate in interface PasswordManager
Throws:
IOException

updatePassword

public boolean updatePassword(String username,
                              String oldPassword,
                              String newPassword)
                       throws IOException
Specified by:
updatePassword in interface PasswordManager
Throws:
IOException