public class PasswordManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.sql.Connection |
con |
Constructor and Description |
---|
PasswordManager(java.sql.Connection con) |
Modifier and Type | Method and Description |
---|---|
void |
addPassword(java.lang.String contractTitle,
long passwordExpireHour,
java.lang.String password) |
void |
deleteByContract(java.lang.String contractTitle) |
void |
deleteContractTitle(java.lang.String passwordOnce) |
java.lang.String |
findContractTitle(java.lang.String passwordOnce) |
java.lang.String |
getOncePassword(java.lang.String charArray) |
public java.lang.String findContractTitle(java.lang.String passwordOnce)
public void addPassword(java.lang.String contractTitle, long passwordExpireHour, java.lang.String password)
public void deleteContractTitle(java.lang.String passwordOnce)
public void deleteByContract(java.lang.String contractTitle)
public java.lang.String getOncePassword(java.lang.String charArray)