Changeset 16371 for gli


Ignore:
Timestamp:
2008-07-14T11:24:18+12:00 (13 years ago)
Author:
ak19
Message:

RemoteGreenstoneServer Authentication method no longer prefills fedora authentication information into Greenstone remot collection authentication fields. The two are different.

File:
1 edited

Legend:

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

    r16334 r16371  
    992992    public void run()
    993993    {
    994 
    995         if (Configuration.fedora_info.isActive()) {
    996 
    997         FedoraInfo fedora_info = Configuration.fedora_info;
    998        
    999         String username = fedora_info.getUsername();
    1000         String password = fedora_info.getPassword();
    1001 
    1002         //remote_greenstone_server_authentication.setUsername(fedora_info.getUsername());
    1003         //remote_greenstone_server_authentication.setPassword(fedora_info.getPassword());
    1004 
    1005         remote_greenstone_server_authentication = new RemoteGreenstoneServerAuthenticator().getAuthentication(username,password);
    1006        
    1007 
    1008         }
    1009         else {
    1010         remote_greenstone_server_authentication = new RemoteGreenstoneServerAuthenticator().getAuthentication();
    1011 
    1012         }
     994        remote_greenstone_server_authentication = new RemoteGreenstoneServerAuthenticator().getAuthentication();
    1013995    }
    1014996
Note: See TracChangeset for help on using the changeset viewer.