- Timestamp:
- 05/06/19 16:56:22 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/auth/account/Create.java
r1352 r1356 104 104 105 105 // Create credentials 106 boolean success = setupCredentialsFrame (username, profile);106 boolean success = setupCredentialsFrameAndINFs(username, profile); 107 107 if (!success) { 108 108 return CreateResult.ErrorIODuringCredentialsFrameSetup; … … 175 175 } 176 176 177 private static boolean setupCredentialsFrame (String username, Frame profile) {177 private static boolean setupCredentialsFrameAndINFs(String username, Frame profile) { 178 178 try { 179 179 File credentialsDir = new File(profile.getFramesetPath() + username + "-credentials"); … … 192 192 Path destinationFile = destinationDirectory.resolve(AuthenticatorBrowser.CREDENTIALS_FRAME + ExpReader.EXTENTION); 193 193 FrameIO.migrateFrame(credentialsFrame, destinationFile); 194 // pwcolleagues.inf file. 195 String pwColleaguesPath = credentialsDir.getAbsolutePath() + File.separator + "pwcolleagues.inf"; 196 File pwColleaguesFile = new File(pwColleaguesPath); 197 pwColleaguesFile.createNewFile(); 198 out = new FileWriter(pwColleaguesFile); 199 out.write(AuthenticatorBrowser.PASSWORD_RECOVERY_FRAME + ".exp"); 200 out.flush(); 201 out.close(); 194 202 return true; 195 203 } catch (IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.