Ignore:
Timestamp:
04/26/19 13:13:30 (5 years ago)
Author:
bln4
Message:

Updated all calls to Boolean.get("expeditee.authentication") to point to AuthenticatorBrowser.isAuthenticationRequired so that they all pipe through exact same check. Also fixed up some old references to Boolean.get("auth") in the apollo sections that I missed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Browser.java

    r1303 r1327  
    163163         */
    164164        public static void main(String[] args) {
    165                 if (Boolean.getBoolean("expeditee.authentication")) {
     165                if (AuthenticatorBrowser.isAuthenticationRequired()) {
    166166                        String starting_user_name = System.getProperty("user.name");
    167167                        System.setProperty("startinguser.name", starting_user_name);
     
    201201       
    202202        public static void init() {
    203                 if (Boolean.getBoolean("expeditee.authentication")) {
     203                if (AuthenticatorBrowser.isAuthenticationRequired()) {
    204204                        try {
    205205                                _theBrowser = AuthenticatorBrowser.getInstance();
     
    272272                Frame userProfile = loadProfiles();
    273273
    274                 if (!Boolean.getBoolean("expeditee.authentication")) {
     274                if (!AuthenticatorBrowser.isAuthenticationRequired()) {
    275275                        String userName = UserSettings.ProfileName.get();
    276276                        FrameIO.setupPersonalResources(userName);
Note: See TracChangeset for help on using the changeset viewer.