Changeset 1336 for trunk/src/org/expeditee/auth
- Timestamp:
- 04/29/19 16:49:27 (5 years ago)
- Location:
- trunk/src/org/expeditee/auth
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/Actions.java
r1335 r1336 30 30 import javax.crypto.IllegalBlockSizeException; 31 31 import javax.crypto.NoSuchPaddingException; 32 import javax.crypto.SecretKey;33 32 34 33 import org.expeditee.agents.ExistingFramesetException; … … 256 255 DisplayController.setCurrentFrame(FrameIO.LoadFrame("authentication1"), false); 257 256 } 257 } 258 259 public static void AuthResetPasswordPt1() { 260 MessageBay.displayMessage("AuthResetPasswordPt1"); 261 } 262 263 public static void AuthResetPasswordPt2() { 264 MessageBay.displayMessage("AuthResetPasswordPt2"); 258 265 } 259 266 -
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.