Search the SharePoint Connector 1.0 documentation:
Index
[Downloads (PDF, HTML & XML formats)]
[Other versions]
This content refers to several wiki pages managed by others. The steps listed below attempts to streamline the process required to configure Confluence with JCIFS.
Unsupported
In general, if NTLM is required for the Sharepoint Connector we advise using IIS for the authentication. JCIFS is not supported, nor does it support the later version of NTLM (NTLMv2) - which is now the default for new Windows installations. See JCIFS Frequently Asked Questions for more information.
NTLM and Anonymous Access
If you want to enable NTLM with Confluence as well as allow for anonymous access with Confluence, please review NTLM and Anonymous Access.
The customauth-0.4.jar is heavily based on the code for the "Apache custom Seraph authenticator for Confluence"
The configuration for the customauth-0.4.jar is also based on the information related to the "NTLM Authenticator for Confluence" (particularly the reference to LDAP User Management).
See the attached "atlassian-user.xml" for an example integration with Active Directory.
Customising atlassian-user.xml also contains excellent information to help understand how to edit this file.
You will need to configure the Active Directory accounts to have appropriate permissions in Confluence (i.e.: adding to the confluence-users group)
See JCIFS NTLM HTTP Authentication for more filter examples.
You will need to change the values to match your specific environment.
<filter> <filter-name>NtlmHttpFilter</filter-name> <filter-class>jcifs.http.NtlmHttpFilter</filter-class> <init-param> <param-name>jcifs.http.domainController</param-name> <param-value>PLACE DOMAIN CONTROLLER IP ADDRESS HERE</param-value> </init-param> <!-- always needed for preauthentication / SMB signatures --> <init-param> <param-name>jcifs.smb.client.domain</param-name> <param-value>PLACE DOMAIN NAME HERE (e.g., mydomain.local)</param-value> </init-param> <init-param> <param-name>jcifs.smb.client.username</param-name> <param-value>PLACE DOMAIN ACCOUNT HERE (do not prefix with "<domain>\")</param-value> </init-param> <init-param> <param-name>jcifs.smb.client.password</param-name> <param-value>PLACE DOMAIN PASSWORD HERE</param-value> </init-param> </filter>
<filter-mapping> <filter-name>NtlmHttpFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
<authenticator class="com.pixelpark.seraph.SSOAuthenticator"/>