com.mchange.util.impl
Class PlaintextPropertiesPasswordManager
java.lang.Object
com.mchange.util.impl.PlaintextPropertiesPasswordManager
- All Implemented Interfaces:
- PasswordManager
public class PlaintextPropertiesPasswordManager
- extends Object
- implements PasswordManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaintextPropertiesPasswordManager
public PlaintextPropertiesPasswordManager(File propsFile)
throws IOException
- Throws:
IOException
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