- Timestamp:
- 04/26/19 13:13:30 (5 years ago)
- Location:
- trunk/src/org
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/apollo/ApolloSystem.java
r1270 r1327 24 24 import org.apollo.widgets.FramePlayer; 25 25 import org.expeditee.actions.Actions; 26 import org.expeditee.auth.AuthenticatorBrowser; 26 27 import org.expeditee.core.BlockingRunnable; 27 28 import org.expeditee.gio.EcosystemManager; … … 261 262 Browser.main(args); 262 263 263 if (! Boolean.getBoolean("auth")) {264 if (!AuthenticatorBrowser.isAuthenticationRequired()) { 264 265 // If not running with authentication/login, then proceed with initializing Apollo 265 266 EcosystemManager.getMiscManager().runOnGIOThread(new BlockingRunnable() { -
trunk/src/org/apollo/io/AudioPathManager.java
r1303 r1327 45 45 public static void changeParentAndSubFolders(String newFolder) { 46 46 47 if ( Boolean.getBoolean("auth") && System.getProperty("user.name").equals(AuthenticatorBrowser.USER_NOBODY)) {47 if (AuthenticatorBrowser.isAuthenticationRequired() && System.getProperty("user.name").equals(AuthenticatorBrowser.USER_NOBODY)) { 48 48 System.err.println("**** AudioPathManager::changeParentAndSubFolder(): Nothing to do for user '" + AuthenticatorBrowser.USER_NOBODY + "'"); 49 49 return; … … 54 54 String userName = UserSettings.UserName.get(); 55 55 //String resourcesPrivateIndividualPath = FrameIO.PARENT_FOLDER + "resources-" + userName + File.separator; 56 if ( Boolean.getBoolean("auth")) {56 if (AuthenticatorBrowser.isAuthenticationRequired()) { 57 57 System.err.println("**** AudioPathManager::changeParentAndSubFolder(): Setting 'audio' folder to resources-" + userName); 58 58 } -
trunk/src/org/expeditee/gui/Browser.java
r1303 r1327 163 163 */ 164 164 public static void main(String[] args) { 165 if ( Boolean.getBoolean("expeditee.authentication")) {165 if (AuthenticatorBrowser.isAuthenticationRequired()) { 166 166 String starting_user_name = System.getProperty("user.name"); 167 167 System.setProperty("startinguser.name", starting_user_name); … … 201 201 202 202 public static void init() { 203 if ( Boolean.getBoolean("expeditee.authentication")) {203 if (AuthenticatorBrowser.isAuthenticationRequired()) { 204 204 try { 205 205 _theBrowser = AuthenticatorBrowser.getInstance(); … … 272 272 Frame userProfile = loadProfiles(); 273 273 274 if (! Boolean.getBoolean("expeditee.authentication")) {274 if (!AuthenticatorBrowser.isAuthenticationRequired()) { 275 275 String userName = UserSettings.ProfileName.get(); 276 276 FrameIO.setupPersonalResources(userName);
Note:
See TracChangeset
for help on using the changeset viewer.