If your browser and web applications support automatic login, you will be able to log in to your desktop computer, your intranet and the relevant web applications without being asked to log in again. Automatic login is also called pass-through sign-on, pass-through authentication, and sometimes single sign-on (SSO).
Applies to Confluence with Integrated Windows Authentication only
If unsure, ask your administrator if this information is relevant to you. It applies only if your administrator has set up Confluence to use Integrated Windows Authentication (IWA) via IIS (see documentation for SharePoint 2007 and for SharePoint 2010) or Jespa (see documentation for SharePoint 2007 and for SharePoint 2010).
This page tells you how to set the options in your web browser (Internet Explorer or Firefox) to enable automatic login to Confluence. This will make it much more pleasant to use the Confluence SharePoint Connector.
What happens if you do not configure your browser as described below? You will keep getting the standard browser login popup each time you access Confluence. The popup looks like this:
Screenshot: Login dialogue from Internet Explorer
Setting up Internet Explorer
Set your options as follows for IE 6, 7 and 8.
- Ensure that your SharePoint site(s) and Confluence site are included in the list of 'Local Intranet' sites.
- Open Internet Explorer's 'Tools' menu and select 'Internet Options'.
- Click the 'Security' tab.
- Select the 'Local intranet' zone.
- Click 'Sites'.
Screenshot: Selecting Internet Explorer options
- Click 'Advanced'.
- Check the list of 'Websites' displayed.
Screenshot: Configuring local intranet settings
- If not already present, enter the web address (URL) of your SharePoint site(s) and your Confluence site into the textbox titled 'Add this website to the zone' and click 'Add' to add each address.
- Click 'Close' to close the window showing the list of websites.
- Click 'OK'.
- Set automatic login in the intranet zone. If you are currently logged in with an Active Directory account, you will be automatically logged into SharePoint and Confluence.
- On the 'Security' tab, make sure the 'Local intranet' zone is still selected and click 'Custom level'.
Screenshot: Selecting custom intranet settings
- Scroll down to the 'User Authentication' section (near the bottom of the list) and select the 'Automatic logon only in Intranet Zone' option.
Screenshot: Choosing automatic 'log on' settings
- Set the option to access data sources across domains. This will prevent a warning message from appearing when the browser attempts to log in to Confluence.
Please check with your system administrator that this setting is acceptable for your environment
Setting this option may increase the susceptibility of your browser to XSS (cross-site scripting) attacks within the local intranet zone. This should be fine if your intranet is accessible to trusted users only.
- Scroll up to the 'Miscellaneous' section (about half way down) and select 'Enable' under to 'Access data sources across domains'.
Screenshot: Enabling data source access across domains
- Click 'OK'.
- Close all your Internet Explorer tabs and windows, and start Internet Explorer again, to ensure that the new settings take effect.
Setting up Firefox 3.x
Follow the steps below to configure automatic login in Firefox 3.x.
- Open Firefox.
- Type '
about:config' into your Firefox address bar.
- When prompted, click 'I'll be careful, I promise'.
- Find the following 'Preference Name':
- Right-click it and select 'Modify'.
- The 'Enter string value' dialogue box will appear. Type the URL of your Confluence site and the URL(s) of your SharePoint sites, separated by commas. For example:Another example:Replace the one or more
sharepoint-url-x values with the addresses of the SharePoint site(s) hosting the Confluence web parts.
- Click 'OK'.
Administrators may find this Mozilla Firefox documentation useful: Deploying Firefox – Centralized Settings Management and Control.
Setting up Firefox 2.0
This procedure will relax your Firefox security quite a bit. Firefox will no longer pop up a security dialogue when a cross-domain AJAX call is made. If you wish, you can set up a separate profile in Firefox to use to verify your configuration before using it with your usual profile. Please refer to the Firefox documentation for more information on managing profiles.
Follow the steps below to configure automatic login in Firefox 2.0.
- Close all your Firefox tabs and windows. The setup procedure will not work if Firefox is open, because Firefox will overwrite the changes you make to the
- Find your
- In Windows, it is typically located in the following location:
C:\Documents and Settings\<YOUR_USERNAME>\ApplicationData\Mozilla\Firefox\Profiles\<YOUR_TEST_USER_PROFILE_ID>\prefs.js
- In Mac OS, it is typically located at:
- Open the file for editing and add the following lines:
Replace the one or more
user_pref("capability.policy.confluence.sites", "http://<sharepoint url 1> http://<sharepoint url 2> http://<sharepoint url n...> ");
<sharepoint url> values with the addresses of the SharePoint site(s) hosting the Confluence web parts. Please leave a space after the setting.
- Save the
- Restart Firefox.
<sharepoint url> value(s) will limit Firefox to opening XMLHttp request FROM pages hosted by the respective SharePoint sites.