public void pwdAdd() throws IOException { PasswordGenerator pGenerator = new PasswordGenerator(); String sessionpass = pGenerator.pwdGenerator(); PGenModel EC = new PGenModel(); DateFetch dFetch = new DateFetch(); EC.addPassword(sessionpass, dFetch.DateFetch()); setPassword(sessionpass); // testdata = sessionpass; EC.CloseConnection(); }
public String pwdDate() throws IOException { DateFetch DF = new DateFetch(); String DateString; DateString = DF.DateFetch().toString(); return DateString; }