greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16371

Show
Ignore:
Timestamp:
2008-07-14 11:24:18 (2 months ago)
Author:
ak19
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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