Changeset 19678

Show
Ignore:
Timestamp:
29.05.2009 17:07:16 (10 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).

Files:
1 modified

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