Search the SharePoint Connector 1.7 documentation:
Index
[Downloads (PDF, HTML & XML formats)]
[Other versions]
This page is part of the installation guide for the Confluence SharePoint Connector. It tells you how to configure access to Confluence using Integrated Windows Authentication via IIS with SharePoint 2010.
On this page:
In this configuration, both SharePoint and client browsers are authenticated against Confluence using Windows authentication provided by a Microsoft Internet Information Services (IIS) server. IIS proxies the pre-authenticated requests through to Confluence and then returns the content to the requester. Confluence and IIS communicate using Apache JServ Protocol (AJP).
If you have not already seen our guide to planning your environment, you can refer to it for information that will help you select the best configuration for your environment.
Due to the complex nature of this configuration, Atlassian is only able to provide support if your configuration satisfies these additional conditions:
Using this configuration adds a number of additional dependencies to Confluence, which you should review.
This configuration requires the use of a specialised Seraph authenticator for Confluence. If you are already using a different custom Seraph authenticator, you may not be able to use this configuration. In this situation, you must either choose a different configuration for the SharePoint Connector or consider developing a new custom Seraph authenticator that aggregates the functionality of both.
No support for custom authenticators
Please note that we are unable to provide support for any custom authenticators not written or explicitly supported by Atlassian.
This configuration requires the use of a custom ISAPI filter for IIS that can communicate using AJP. Atlassian will only support the use of the open source Tomcat Connector provided by the Apache Tomcat project.
Limited support for third-party software
Please note that Atlassian is unable to provide in-depth support for problems encountered with the Tomcat Connector, as this software is written and maintained by the Apache Software Foundation. Atlassian will assist with ensuring the correct configuration values are applied and capturing diagnostic information, but any issues encountered with the Tomcat Connector must be raised through the appropriate channels with the Apache Tomcat project or with another organisation that provides commercial support for Tomcat.
Due to limitations with the custom Seraph authenticator that Confluence requires for this configuration, it is not possible to set up anonymous access for Confluence when using this configuration.
Atlassian is currently reviewing the suitability of using the third-party NTLM Authenticator for Confluence instead.
These are some reported problems with this configuration:
If you have already configured Confluence to connect to your Active Directory domain, then skip ahead to the next step.
Set up your Confluence server to synchronise its user repository with your Windows Active Directory domain. See the Confluence documentation on LDAP user management.
This and following steps guide you through the configuration required to use IIS as an NTLM authenticator for Confluence. NTLM is an authentication format developed by Microsoft. While some third-party implementations are available, IIS provides the most robust and full-featured NTLM authentication support.
Summary of this configuration:
Please follow the guide below that matches the version of your Windows Server:
This section of the guide describes the steps necessary to configure Confluence to co-operate with the IIS Web Server.
Throughout this section, '%confluence_install%
' refers to your Confluence installation directory .
This step is only necessary if your IIS instance is already hosting other websites and you want to host Confluence underneath an existing site (for example, if your corporate intranet is hosted at http://intranet.company.com and you want to host Confluence at http://intranet.company.com/confluence).
%confluence_install%\conf\server.xml
file.Find the Context element in the file, and then change the path value to '/confluence
'.
The line should look something like this:
<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false">
Now you will change Tomcat's configuration, replacing the standard Coyote HTTP connector (which allows Tomcat to send and receive HTTP traffic) with a custom AJP connector (which allows Tomcat to communicate using Apache JServ Protocol).
%confluence_install%\conf\server.xml
file.Add a new Connector element that looks like the one below. The values that must match exactly are address, protocol and tomcatAuthentication:
<Connector port="8009" address="127.0.0.1" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" tomcatAuthentication="false" URIEncoding="UTF-8" />
If IIS is not located on the same server as Confluence, then you should not enter the address value at all.
server.xml
file now contains only a single Connector definition.Download the latest SharePoint Connector custom authenticator appropriate for your version of Confluence (see the below table):
Confluence 4.3.x and earlier | Confluence 5.0.x and later |
---|---|
customauth-0.6.jar | customauth-1.0.jar |
%confluence_install%\confluence\WEB-INF\lib
directory.%confluence_install%\WEB-INF\classes\seraph-config.xml
file.Locate the Authenticator element and replace it with the following (you may wish to backup the file in case you wish to revert to the original configuration):
<authenticator class="com.pixelpark.seraph.SSOAuthenticator" />
The final step in configuring Confluence is to modify the Server Base URL to point to the IIS web site, rather than directly to Confluence. This ensures that any hyperlinks generated within Confluence pages will direct users through the IIS website. For example, if your Tomcat server runs Confluence on http://intranet.company.com:8080/confluence and the IIS web site runs on http://intranet.company.com, then the Confluence Base URL needs to be changed to http://intranet.company.com/confluence.
See the Confluence documentation for instructions on modifying the Base URL.
In order for users to be automatically logged in to Confluence without being prompted for their username and password, the browser must be correctly configured for pass-through authentication.
Please instruct all users to ensure that the recommended browser settings are applied.
To continue with the installation of the SharePoint Connector, please install and configure the SharePoint feature.