manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1458560 - /manifoldcf/branches/CONNECTORS-664/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LLSERVER.java
Date Tue, 19 Mar 2013 22:56:33 GMT
Author: kwright
Date: Tue Mar 19 22:56:32 2013
New Revision: 1458560

URL: http://svn.apache.org/r1458560
Log:
Change the login logic according to Dave's data.

Modified:
    manifoldcf/branches/CONNECTORS-664/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LLSERVER.java

Modified: manifoldcf/branches/CONNECTORS-664/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LLSERVER.java
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-664/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LLSERVER.java?rev=1458560&r1=1458559&r2=1458560&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-664/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LLSERVER.java
(original)
+++ manifoldcf/branches/CONNECTORS-664/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LLSERVER.java
Tue Mar 19 22:56:32 2013
@@ -107,12 +107,13 @@ public class LLSERVER
         configuration.setAssoc();
         configuration.add("Encoding","UTF-8");
         configuration.add("LivelinkCGI", httpCgiPath);
-        if (useNTLM)
+        if (userNameAndDomain != null && userNameAndDomain.length() > 0)
         {
           configuration.add("HTTPUserName", userNameAndDomain);
           configuration.add("HTTPPassword", httpNtlmPassword);
-          configuration.add("EnableNTLM", LLValue.LL_TRUE);
         }
+        if (useNTLM)
+          configuration.add("EnableNTLM", LLValue.LL_TRUE);
         else
           configuration.add("EnableNTLM", LLValue.LL_FALSE);
 



Mime
View raw message