Package com.mchange.util
Interface PasswordManager
-
- All Known Subinterfaces:
RemotePasswordManager
- All Known Implementing Classes:
HexAsciiMD5PropertiesPasswordManager
,PlaintextPropertiesPasswordManager
public interface PasswordManager
-
-
Method Summary
All Methods Instance Methods Abstract 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
boolean validate(java.lang.String username, java.lang.String password) throws java.io.IOException
- Throws:
java.io.IOException
-
updatePassword
boolean updatePassword(java.lang.String username, java.lang.String oldPassword, java.lang.String newPassword) throws java.io.IOException
- Throws:
java.io.IOException
-
-