You can find an extensive introduction about using Magnolia CMS with external user objects to enable SSO functionality on the Magnolia blog.