Changeset 1335 for trunk


Ignore:
Timestamp:
04/29/19 15:07:44 (5 years ago)
Author:
bln4
Message:

Update to change password functionality, mostly cosmetic frame update.

Location:
trunk/src/org/expeditee
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/assets/resources-public/framesets/authentication/3.exp

    r1264 r1335  
    1 V 59
     1V 82
     2p 40
    23U authadmin
    34D 07Jan2019[14:34]
    45M authadmin
    5 d 21Mar2019[12:23]
     6d 29Apr2019[15:02]
    67B 100 100 39 100
    78Z
    89
    9 S T 106
    10 s 12Feb2019[12:34.37]
    11 d 0 0 0 100
    12 P 20 95
    13 T Expeditee: Sleek like Aphroditē–Wise like Athēnâ.
     10S T 122
     11s 29Apr2019[14:52.55]
     12d 0 0 0 100
     13P 105 65
     14T Secure Expeditee:
    1415o authadmin
    1516v S
     
    2122p 40
    2223
    23 S T 107
    24 s 12Feb2019[12:34.37]
    25 d 0 0 0 100
    26 P 283 140
     24S T 123
     25s 29Apr2019[14:52.55]
     26d 0 0 0 100
     27P 20 104
     28T 🔒
     29o authadmin
     30v S
     31f tr74
     32t -1.0
     33b 0.0
     34m 0.0
     35h -1.0
     36p 40
     37
     38S T 124
     39s 29Apr2019[14:52.55]
     40d 0 0 0 100
     41P 105 115
     42T Sleek like Aphroditē–Wise like Athēnâ.
     43o authadmin
     44v S
     45f Metamorphous_r36
     46t -1.0
     47b 0.0
     48m 0.0
     49h -1.0
     50p 40
     51
     52S T 142
     53s 29Apr2019[14:53.06]
     54d 0 0 0 100
     55P 260 185
    2756T Change Your Expeditee Password
    2857o authadmin
     
    3362m 0.0
    3463h -1.0
    35 p 40
    36 
    37 S T 59
    38 s 07Jan2019[14:35.49]
    39 G 100 100 100 100
    40 K 0 0 0 100
    41 P 367 207
    42 T
    43 D txtPassword
    44 o authadmin
    45 v S
    46 f tr29
    47 t -1.0
    48 O 42
    49 b 0.0
    50 m 0.0
    51 M 500
    52 h 1.0
    53 p 44
    54 
    55 S T 40
    56 s 07Jan2019[14:34.33]
    57 d 0 0 0 100
    58 K 0 0 0 100
    59 P 140 209
    60 T Old Password:
    61 X AuthorisationState 2
    62 x F
    63 o authadmin
    64 n F
    65 v S
    66 f Amaranth_r29
    67 t -1.0
    68 b 0.0
    69 m 0.0
    70 M 200
    71 h 0.0
    7264p 40
    7365
     
    9082h 2.0
    9183
     84S T 59
     85s 07Jan2019[14:35.49]
     86d 0 0 0 100
     87G 100 100 100 100
     88K 0 0 0 100
     89P 175 289
     90T
     91D txtPassword
     92N 260
     93o authadmin
     94v S
     95f tr29
     96t -1.0
     97O 42
     98b 0.0
     99m 0.0
     100M 300
     101h 1.0
     102p 44
     103_ph Password
     104
    92105S T 74
    93106s 07Jan2019[14:36.41]
     107d 0 0 0 100
    94108G 100 100 100 100
    95109K 0 0 0 100
    96 P 367 273
     110P 175 349
    97111T
    98112D txtNewPassword
     113N 320
    99114o authadmin
    100115v S
     
    104119b 0.0
    105120m 0.0
    106 M 500
     121M 300
    107122h 1.0
    108123p 44
    109 
    110 S T 43
    111 s 07Jan2019[14:34.33]
    112 d 0 0 0 100
    113 K 0 0 0 100
    114 P 140 275
    115 T New Password:
    116 X AuthorisationState 2
    117 x F
    118 o authadmin
    119 n F
    120 v S
    121 f Amaranth_r29
    122 t -1.0
    123 b 0.0
    124 m 0.0
    125 M 200
    126 h 0.0
    127 p 40
     124_ph New Password
    128125
    129126S T 81
    130127s 07Jan2019[14:36.49]
     128d 0 0 0 100
    131129G 100 100 100 100
    132130K 0 0 0 100
    133 P 367 339
     131P 515 349
    134132T
    135133D txtNewPasswordAgain
     134N 320
    136135o authadmin
    137136v S
     
    141140b 0.0
    142141m 0.0
    143 M 500
     142M 300
    144143h 1.0
    145144p 44
    146 
    147 S T 44
    148 s 07Jan2019[14:34.33]
    149 d 0 0 0 100
    150 K 0 0 0 100
    151 P 140 341
    152 T Password Again:
    153 X AuthorisationState 2
    154 x F
    155 o authadmin
    156 n F
    157 v S
    158 f Amaranth_r29
    159 t -1.0
    160 b 0.0
    161 m 0.0
    162 M 200
    163 h 0.0
    164 p 40
     145_ph New Password Again
    165146
    166147S T 45
     
    169150G 100 100 0 100
    170151K 0 0 0 100
    171 P 353 415
    172 T  Change My Password
     152P 394 409
     153T Change Password
    173154X AuthChangePassword
    174155x F
     156N 380
    175157o authadmin
    176158n F
     
    180162b 0.0
    181163m 0.0
    182 M 300
     164M 205
    183165h 1.0
    184166p 41
    185167
    186 S T 95
    187 s 11Feb2019[14:31.40]
     168S T 214
     169s 29Apr2019[14:58.35]
    188170d 0 0 0 100
    189171G 100 100 0 100
    190172K 0 0 0 100
    191 P 353 491
    192 T     Return To Desktop
    193 X AuthGoToDesktop
     173P 424 461
     174T   Forgot Password
    194175x F
    195 D ShowOnProgress
     176N 440
    196177o authadmin
    197178n F
    198179v S
    199 f dr29
    200 t -1.0
    201 b 0.0
    202 m 0.0
    203 M 300
     180f dr21
     181t -1.0
     182b 0.0
     183m 0.0
     184M 180
    204185h 1.0
    205186p 41
    206187
    207 S T 46
    208 s 07Jan2019[14:34.33]
     188S T 247
     189s 29Apr2019[15:00.55]
    209190d 0 0 0 100
    210191G 100 100 0 100
    211192K 0 0 0 100
    212 P 176 573
    213 T       I Am New To Expeditee
    214 F 2
     193P 424 511
     194T Return To Desktop
    215195x F
    216196o authadmin
     
    221201b 0.0
    222202m 0.0
    223 M 300
     203M 180
    224204h 1.0
    225205p 41
    226206
    227 S T 47
    228 s 07Jan2019[14:34.33]
    229 d 0 0 0 100
    230 G 100 100 0 100
    231 K 0 0 0 100
    232 P 494 573
    233 T            Log In To Expeditee
    234 F 1
    235 x F
    236 o authadmin
    237 n F
    238 v S
    239 f dr21
    240 t -1.0
    241 b 0.0
    242 m 0.0
    243 M 300
    244 h 1.0
    245 p 41
    246 
    247 Z
    248 
    249 Z
    250 
    251 Z
    252 
    253 ActiveTime:00:06:03
     207Z
     208
     209Z
     210
     211Z
     212
     213ActiveTime:00:14:58
    254214DarkTime:00:20:25
    255 23:06:283 442 185 Rd
    256 23:06:408 442 185 Ru
    257 23:06:931 435 255 Rd
    258 23:07:033 435 255 Ru
    259 23:07:579 417 314 Rd
    260 23:07:704 417 314 Ru
    261 23:08:021 414 251 kRIGHT_ARROW
    262 23:08:658 1068 264 kRIGHT_ARROW
  • trunk/src/org/expeditee/auth/Actions.java

    r1334 r1335  
    3838import org.expeditee.auth.account.Authenticate.AuthenticationResult;
    3939import org.expeditee.auth.account.Create;
     40import org.expeditee.auth.account.Password;
    4041import org.expeditee.auth.gui.MailBay;
    4142import org.expeditee.auth.tags.AuthenticationTag;
     
    241242                                } else {
    242243                                        userData.put(AuthenticationTag.Username, UserSettings.UserName.get());
    243                                         changePassword(userData);
     244                                        Password.changePassword(userData);
    244245                                }
    245246                        } else {
     
    426427        }
    427428       
    428         /*
    429          * Changes the recorded password for a user in the key store.
    430          */
    431         private static void changePassword(final Map<AuthenticationTag, String> userdata) throws NoSuchAlgorithmException, KeyStoreException, FileNotFoundException, CertificateException, IOException, ClassNotFoundException, SQLException {
    432                 final String username = userdata.get(AuthenticationTag.Username);
    433                 final String password = userdata.get(AuthenticationTag.Password);
    434                 final String newpassword = userdata.get(AuthenticationTag.NewPassword);
    435 
    436                 final SecretKey key = AuthenticatorBrowser.getInstance().getSecretKey(username, password);
    437                 if (key == null) {
    438                         MessageBay.errorMessage("The username + existing password combination was incorrect.");
    439                 } else {
    440                         AuthenticatorBrowser.getInstance().putKey(username, newpassword, key);
    441                         MessageBay.displayMessage("Password changed successfully.");
    442                 }
    443         }
    444 
    445429//                      // establish properties
    446430//                      final String from = "[email protected]";
Note: See TracChangeset for help on using the changeset viewer.