Changeset 19678 for gli/trunk


Ignore:
Timestamp:
2009-05-29T17:07:16+12:00 (15 years ago)
Author:
ak19
Message:

The proxy and Authenticator setup was recently moved into the gsdlRemote case alone and didn't get executed when the GS server was local. As an unfortunate side-effect, none of the downloading worked anymore (discovered when going through the OAI download tutorial).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/Gatherer.java

    r19675 r19678  
    456456        }
    457457
     458        // At this point (which is where this code originally used to be), we can set up the proxy for the
     459        // non-remote case. The remote Greenstone server would already have setup its proxy when required.
     460        if(!isGsdlRemote) {
     461        setProxy();
     462        // Now we set up an Authenticator
     463        Authenticator.setDefault(new GAuthenticator());
     464        }
    458465        assoc_man = new FileAssociationManager();
    459466        // Create File Manager
Note: See TracChangeset for help on using the changeset viewer.