Changeset 19304

Show
Ignore:
Timestamp:
01.05.2009 11:52:16 (10 years ago)
Author:
davidb
Message:

Moved location of setProxy and 'new GAuthenticator' to earlier point so client-gli requests proxying username and password earlier enough to function correctly

Files:
1 modified

Legend:

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

    r18987 r19304  
    304304        remoteGreenstoneServer = new RemoteGreenstoneServer(); 
    305305 
     306        // Set up proxy 
     307        setProxy(); 
     308        // Now we set up an Authenticator 
     309        Authenticator.setDefault(new GAuthenticator()); 
     310 
    306311        int greenstoneVersion = 2; 
    307312        requestGLIServerURL(); 
     
    430435        } 
    431436        } 
    432  
    433         // Set up proxy 
    434         setProxy(); 
    435         // Now we set up an Authenticator 
    436         Authenticator.setDefault(new GAuthenticator()); 
    437437 
    438438        assoc_man = new FileAssociationManager();