Pregunta

I have setup my MVC application already to use the Membership provider along with AD.

I am able to login and see details about users and such.

My next step is to implement some sort of SSO with my SharePoint 2010 application. From what I understand, Claims-Based authentication may be a good approach for my situation. Both my MVC app and the SharePoint app will be hosted on the same domain if this helps with the question.

I have setup a Claims-Based SharePoint application, so I'm assuming I need to find out how to let SharePoint know that the user has logged into my MVC app so they don't need to login again, which is where ADFS might come into play.

Does anybody have any experience with this topic. If so, are there any resources available to look at for research?

¿Fue útil?

Solución

I have found that Active Directory already supports multi-tenancy within a domain.

Make certain that applicationName setting in your web.config is the same for your Sharepoint and MVC apps.

  <membership>
        <providers>
            <clear/>
<add
  name="MyADMembershipProvider"
  type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, 
        Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
  connectionStringName="ADConnectionString"
.......
                applicationName="/"
            />
        </providers>
  </membership>
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top