Changeset 1336 for trunk/src/org/expeditee/auth/account/Password.java
- Timestamp:
- 04/29/19 16:49:27 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/account/Password.java
r1335 r1336 21 21 * Changes the recorded password for a user in the key store. 22 22 */ 23 public static void changePassword( finalMap<AuthenticationTag, String> userdata) throws NoSuchAlgorithmException, KeyStoreException, FileNotFoundException, CertificateException, IOException, ClassNotFoundException, SQLException {24 finalString username = userdata.get(AuthenticationTag.Username);25 finalString password = userdata.get(AuthenticationTag.Password);26 finalString newpassword = userdata.get(AuthenticationTag.NewPassword);23 public static void changePassword(Map<AuthenticationTag, String> userdata) throws NoSuchAlgorithmException, KeyStoreException, FileNotFoundException, CertificateException, IOException, ClassNotFoundException, SQLException { 24 String username = userdata.get(AuthenticationTag.Username); 25 String password = userdata.get(AuthenticationTag.Password); 26 String newpassword = userdata.get(AuthenticationTag.NewPassword); 27 27 28 28 final SecretKey key = AuthenticatorBrowser.getInstance().getSecretKey(username, password); … … 35 35 } 36 36 } 37 38 public static void forgotPassword(Map<AuthenticationTag, String> userdata) { 39 String username = userdata.get(AuthenticationTag.Username); 40 String newpassword = userdata.get(AuthenticationTag.NewPassword); 41 //AuthenticatorBrowser.getInstance().putKey(label, password, key); 42 } 37 43 }
Note:
See TracChangeset
for help on using the changeset viewer.