Package com.mchange.util.impl
Class PlaintextPropertiesPasswordManager
- java.lang.Object
-
- com.mchange.util.impl.PlaintextPropertiesPasswordManager
-
- All Implemented Interfaces:
PasswordManager
public class PlaintextPropertiesPasswordManager extends java.lang.Object implements PasswordManager
-
-
Constructor Summary
Constructors Constructor Description PlaintextPropertiesPasswordManager(java.io.File propsFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
updatePassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword)
boolean
validate(java.lang.String username, java.lang.String password)
-
-
-
Method Detail
-
validate
public boolean validate(java.lang.String username, java.lang.String password) throws java.io.IOException
- Specified by:
validate
in interfacePasswordManager
- Throws:
java.io.IOException
-
updatePassword
public boolean updatePassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword) throws java.io.IOException
- Specified by:
updatePassword
in interfacePasswordManager
- Throws:
java.io.IOException
-
-