Ignore:
Timestamp:
04/29/19 16:49:27 (5 years ago)
Author:
bln4
Message:

new password reset screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/auth/account/Password.java

    r1335 r1336  
    2121         * Changes the recorded password for a user in the key store.
    2222         */
    23         public static void changePassword(final Map<AuthenticationTag, String> userdata) throws NoSuchAlgorithmException, KeyStoreException, FileNotFoundException, CertificateException, IOException, ClassNotFoundException, SQLException {
    24                 final String username = userdata.get(AuthenticationTag.Username);
    25                 final String password = userdata.get(AuthenticationTag.Password);
    26                 final String 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);
    2727
    2828                final SecretKey key = AuthenticatorBrowser.getInstance().getSecretKey(username, password);
     
    3535                }
    3636        }
     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        }
    3743}
Note: See TracChangeset for help on using the changeset viewer.