| 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(); |
|---|