The good folks at Atlassian have written a nice tutorial on integrating Crowd with AppFuse and Acegi to create a nice SSO solution. Crowd is a web-based single sign-on (SSO) tool that simplifies application provisioning and identity management. The AppFuse project uses it to maintain a single user store for JIRA, Confluence (this site), and Bamboo. It's worked awesome for us.