Author: kwright
Date: Tue Oct 22 21:19:06 2013
New Revision: 1534796
URL: http://svn.apache.org/r1534796
Log:
Fix bad serverName bug
Modified:
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/sharepoint/SharePointAuthority.java
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Modified:
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/sharepoint/SharePointAuthority.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/sharepoint/SharePointAuthority.java?rev=1534796&r1=1534795&r2=1534796&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/sharepoint/SharePointAuthority.java
(original)
+++
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/sharepoint/SharePointAuthority.java
Tue Oct 22 21:19:06 2013
@@ -164,7 +164,8 @@ public class SharePointAuthority extends
public void connect(ConfigParams configParams)
{
super.connect(configParams);
-
+
+
// Allocate the session data, currently empty
sessionInfo = new HashMap<String,DCSessionInfo>();
@@ -1004,6 +1005,9 @@ public class SharePointAuthority extends
serverProtocol = params.getParameter(
SharePointConfig.PARAM_SERVERPROTOCOL );
if (serverProtocol == null)
serverProtocol = "http";
+
+ serverName = params.getParameter( SharePointConfig.PARAM_SERVERNAME );
+
try
{
String serverPort = params.getParameter(
SharePointConfig.PARAM_SERVERPORT );
Modified:
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1534796&r1=1534795&r2=1534796&view=diff
==============================================================================
---
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++
manifoldcf/branches/CONNECTORS-754/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Tue Oct 22 21:19:06 2013
@@ -310,7 +310,7 @@ public class SharePointRepository extend
{
super.connect(configParameters);
// This is needed by getBins()
- serverName = configParameters.getParameter( "serverName" );
+ serverName = configParameters.getParameter(
SharePointConfig.PARAM_SERVERNAME );
}
/** Close the connection. Call this before discarding the repository
connector.