com.mchange.util.impl
Class HexAsciiMD5PropertiesPasswordManager

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

public class HexAsciiMD5PropertiesPasswordManager
extends Object
implements PasswordManager


Constructor Summary
HexAsciiMD5PropertiesPasswordManager(File propsFile)
           
HexAsciiMD5PropertiesPasswordManager(File propsFile, String pfx, String header)
           
HexAsciiMD5PropertiesPasswordManager(File propsFile, String pfx, String[] header)
           
 
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

HexAsciiMD5PropertiesPasswordManager

public HexAsciiMD5PropertiesPasswordManager(File propsFile,
                                            String pfx,
                                            String[] header)
                                     throws IOException
Throws:
IOException

HexAsciiMD5PropertiesPasswordManager

public HexAsciiMD5PropertiesPasswordManager(File propsFile,
                                            String pfx,
                                            String header)
                                     throws IOException
Throws:
IOException

HexAsciiMD5PropertiesPasswordManager

public HexAsciiMD5PropertiesPasswordManager(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