| By Kirk Liemohn, Chris Edwards | Article Rating: |
|
| April 4, 2008 04:00 AM EDT | Reads: |
7,141 |
Single Sign-on (SSO)
One of the primary goals of
Confluence and SharePoint integration effort was to make sure the
products could work together seamlessly with a minimal amount of
authentication requests presented to the user. Another goal was to
implement this without requiring additional products and intrusive
configuration requirements. We chose to use the SSO service that comes
with MOSS as a base for SSO functionality and to rely on custom code in
the Confluence Web parts and related Confluence Administrative Settings
page.
SSO Overview
In Figure 5 and the number references below it provides a high-level view of how SSO works between SharePoint and Confluence.
- The client browser will typically be configured with Windows Authentication/NTLM to access SharePoint.
- The Confluence Web parts use the default MOSS SSO provider to look up stored credentials for "Confluence."
- The Confluence Web parts will use the returned SSO credentials to access a Confluence Web Service to retrieve a list of pages or content for a specific page.
- The Confluence page content will return a SSO ticket and related XMLHTTP JavaScript methods to retrieve and forward Confluence SSO credentials from the client to Confluence. This is used for seamless accessibility of images stored in Confluence or when the user clicks links in the Web part that access Confluence.
- The Confluence page will begin rendering/processing the XMLHTTP JavaScript methods on the client.
- The client will "redeem" the SSO ticket to retrieve SSO credentials and use the credentials to authenticate the client.
- The client completes rendering content, including images and links in the context of the SSO credentials.
The Microsoft SSO Service provides a way for a user to provide an individual set of credentials to use for back-end service/Web Service impersonation. The individual set of credentials is stored and associated with a user's Windows-based credentials.
Why Did We Choose the Microsoft SSO Service?
- The SSO Service is built into MOSS and doesn't require additional products.
- The service immediate provides the ability to pass individual user credentials to the Confluence Web Service. This automatically allows Confluence to trim returning content in the context of the correct user.
- The service supports the ability to plug in a different/custom SSO provider implementation.
| Pros | Cons |
|---|---|
| Service and basic SSO provider implemntation included with MOSS. | Must use Windows authentication with SharePoint. |
| Simple yet powerful. | Requires credentials to be recaptured and stored in a separate repository (security risk). |
| Pluggable way to replace the out-of-the-box SSO provider; works very well providing credentials to a Web Service. | Note: To eliminate an extra prompt for credentials SSO credentials can be generated by an automated process. |
| Fairly simple to configure (depending on the server configuration) | Requires additional code for the browser to receive and impersonate credentials. |
SSO Configuration
The following references helped
to provide the specific configuration steps required to get the SSO
service up-and-running for a Confluence-SharePoint integration
environment. The first two links provide the basic Microsoft SSO
service reference material. The third link helped to provide insight on
the Microsoft SSO service itself and the relationship between service
accounts, roles, etc.
- Start the Single Sign-on Service9
- Manage Settings for Single Sign-on10
- SharePoint 2007 Single Sign-on Setup Blog11
The sections below reference the areas of custom code and configuration used to implement a simple SSO solution. Note that some code has been omitted (indicated by "..."). Most of the omitted code is unrelated to SSO functionality and has been left out to avoid confusion and clutter.
Published April 4, 2008 Reads 7,141
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Kirk Liemohn
Kirk Liemohn is a principal software engineer with ThreeWill. His recent project experience includes Microsoft Office SharePoint Server (MOSS) enterprise search projects as well as a Windows SharePoint Services (WSS) business analysis portal. Kirk manages a SharePoint blog at http://www.implementingsharepoint.com.
More Stories By Chris Edwards
Chris Edwards is a senior software engineer with ThreeWill. His project roles have ranged from development/technical lead to development resource. He is certified as MCSD using Microsoft .NET and as MCTS: SharePoint Services 3.0, Application Development. Chris manages resource links related to WSS at http://wssresourceguide.com.
![]() |
shirley 03/30/09 04:55:53 AM EDT | |||
We can assist here as we specialise in developing and implementing SharePoint 2007 – that’s all we do. There is more information on this at http://www.nsynergy.com or mail to info@nsynergy.com. |
||||
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- Confessions of a Ulitzer Addict
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- It's the Java vs. C++ Shootout Revisited!
- Cloud Computing Can Revitalize Your Career as Software Developer
- IBM Could "Reinvent" Java: Mills
- Oracle & Cloud Computing: Exclusive Q&A with SVP Richard Sarwal
- A Brief History of Cloud Computing
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Why IBM’s Server Chief Got Busted
- Is Cloud Computing Like Teenage Sex?
- Industry Experts Discuss the State of Cloud Computing
- Performance Tuning Essentials for Java
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- My Thoughts on Ulitzer
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?










































