Top Fields Constructors Methods
com.mchange.util.impl

public Class HexAsciiMD5PropertiesPasswordManager

extends Object
implements PasswordManager
Class Inheritance
All Implemented Interfaces
com.mchange.util.PasswordManager
Imports
java.io.*, java.rmi.*, java.security.*, java.util.*, com.mchange.lang.*, com.mchange.util.*

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final String
private static final String
private static final String
pack-priv MessageDigest
private static final String
pack-priv String
pack-priv SyncedProperties

Constructor Summary

AccessConstructor and Description
public
public
public
private

Method Summary

Modifier and TypeMethod and Description
public synchronized boolean
public synchronized boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEBUGback to summary
private static final boolean DEBUG
DEF_HEADERback to summary
private static final String DEF_HEADER
DEF_PASSWORD_PROP_PFXback to summary
private static final String DEF_PASSWORD_PROP_PFX
DIGEST_ALGORITHMback to summary
private static final String DIGEST_ALGORITHM
mdback to summary
pack-priv MessageDigest md
PASSWORD_ENCODINGback to summary
private static final String PASSWORD_ENCODING
pfxback to summary
pack-priv String pfx
propsback to summary
pack-priv SyncedProperties props

Constructor Detail

HexAsciiMD5PropertiesPasswordManagerback to summary
public HexAsciiMD5PropertiesPasswordManager(File propsFile, String pfx, String[] header) throws IOException
HexAsciiMD5PropertiesPasswordManagerback to summary
public HexAsciiMD5PropertiesPasswordManager(File propsFile, String pfx, String header) throws IOException
HexAsciiMD5PropertiesPasswordManagerback to summary
public HexAsciiMD5PropertiesPasswordManager(File propsFile) throws IOException
HexAsciiMD5PropertiesPasswordManagerback to summary
private HexAsciiMD5PropertiesPasswordManager(SyncedProperties sp, String pfx) throws IOException

Method Detail

updatePasswordback to summary
public synchronized boolean updatePassword(String username, String oldPassword, String newPassword) throws IOException

Implements com.mchange.util.PasswordManager.updatePassword.

validateback to summary
public synchronized boolean validate(String username, String password) throws IOException

Implements com.mchange.util.PasswordManager.validate.