Package com.mchange.util.impl
Class HexAsciiMD5PropertiesPasswordManager
- java.lang.Object
-
- com.mchange.util.impl.HexAsciiMD5PropertiesPasswordManager
-
- All Implemented Interfaces:
PasswordManager
public class HexAsciiMD5PropertiesPasswordManager extends java.lang.Object implements PasswordManager
-
-
Constructor Summary
Constructors Constructor Description HexAsciiMD5PropertiesPasswordManager(java.io.File propsFile)
HexAsciiMD5PropertiesPasswordManager(java.io.File propsFile, java.lang.String pfx, java.lang.String header)
HexAsciiMD5PropertiesPasswordManager(java.io.File propsFile, java.lang.String pfx, java.lang.String[] header)
-
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)
-
-
-
Constructor Detail
-
HexAsciiMD5PropertiesPasswordManager
public HexAsciiMD5PropertiesPasswordManager(java.io.File propsFile, java.lang.String pfx, java.lang.String[] header) throws java.io.IOException
- Throws:
java.io.IOException
-
HexAsciiMD5PropertiesPasswordManager
public HexAsciiMD5PropertiesPasswordManager(java.io.File propsFile, java.lang.String pfx, java.lang.String header) throws java.io.IOException
- Throws:
java.io.IOException
-
HexAsciiMD5PropertiesPasswordManager
public HexAsciiMD5PropertiesPasswordManager(java.io.File propsFile) throws java.io.IOException
- Throws:
java.io.IOException
-
-
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
-
-