Ignore:
Timestamp:
04/05/19 10:24:27 (5 years ago)
Author:
bln4
Message:

Tidied up startup a bit, Authenticator class renamed to AuthenticatedBrowser to signify it is Browsers replacement when running in authentication mode.

File:
1 edited

Legend:

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

    r1281 r1282  
    3232import org.expeditee.actions.Simple;
    3333import org.expeditee.agents.mail.MailSession;
     34import org.expeditee.auth.AuthenticatorBrowser;
    3435import org.expeditee.core.BlockingRunnable;
    3536import org.expeditee.core.Colour;
     
    204205                if (Boolean.getBoolean("auth")) {
    205206                        try {
    206                                 org.expeditee.auth.Authenticator.getInstance();
    207                                 _initComplete = true;
    208                                 return;
     207                                _theBrowser = AuthenticatorBrowser.getInstance();
    209208                        } catch (KeyStoreException | NoSuchAlgorithmException | CertificateException | IOException | ClassNotFoundException | SQLException e) {
    210209                                e.printStackTrace();
    211210                        }
    212                 }
    213                 _theBrowser = new Browser();
     211                } else {
     212                        _theBrowser = new Browser();
     213                }               
    214214
    215215                EcosystemManager.getGraphicsManager().requestFocus();
    216216               
     217                // Java's way of getting access to internet.  Authenticating the user with their proxy username and password.
    217218                Authenticator.setDefault(proxyAuth);
    218219               
Note: See TracChangeset for help on using the changeset viewer.