<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Multiple Authentication</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Multiple Authentication</description>
  <pubDate>Sat, 11 Apr 2026 02:02:57 -700</pubDate>
  <lastBuildDate>Fri, 22 Feb 2013 11:47:01 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=4002</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Multiple Authentication : Technically, something like that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15902#15902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 4002<br /><strong>Posted:</strong> 22-Feb-2013 at 11:47am<br /><br />Technically, something like that is possible, but it requires extending parts of Cocktail and probably a custom AuthenticationService. Our team of consultants can help you explore and build a custom solution that meets your requirements.&nbsp;]]>
   </description>
   <pubDate>Fri, 22 Feb 2013 11:47:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15902#15902</guid>
  </item> 
  <item>
   <title>Multiple Authentication : Thanks Marcel for your reply and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15901#15901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1379" rel="nofollow">pjcunningham</a><br /><strong>Subject:</strong> 4002<br /><strong>Posted:</strong> 22-Feb-2013 at 11:09am<br /><br />Thanks Marcel for your reply and the link you've provided.<div><br></div><div>I was thinking about an application similar to SQL Management Studio (and other variations), where I can login in to multiple databases.</div><div><br></div><div>Regards, Paul.</div>]]>
   </description>
   <pubDate>Fri, 22 Feb 2013 11:09:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15901#15901</guid>
  </item> 
  <item>
   <title>Multiple Authentication : Paul,The short answer is no. .NET...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15900#15900</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 4002<br /><strong>Posted:</strong> 22-Feb-2013 at 10:34am<br /><br />Paul,<div>The short answer is no. .NET just like pretty much any other technology does not have a notion of multiple current principals. The Thread.CurrentPrincipal property only takes a single principal (http://msdn.microsoft.com/en-us/library/system.threading.thread.currentprincipal.aspx).</div><div><br></div><div>If you have this requirement you need to look into federated identity and single sign-on (SSO) technologies. There is no restriction on the DevForce/Cocktail side to integrate SSO and federated identity systems.&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 22 Feb 2013 10:34:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15900#15900</guid>
  </item> 
  <item>
   <title>Multiple Authentication : Can Cocktail be configured to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15896#15896</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1379" rel="nofollow">pjcunningham</a><br /><strong>Subject:</strong> 4002<br /><strong>Posted:</strong> 22-Feb-2013 at 3:41am<br /><br /><p ="Ms&#111;normal"><span style="font-family: C&#111;nsolas; font-size: 10pt; line-height: 115%;">Can Cocktail be configured to use multiple authentications?</span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">I have a requirement to allow an application to login in to multipledatabases (different models) simultaneously – this is at the proof of conceptstage.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">My initial thought was to have multiple implementations ofAuthenticationService, all exporting IAuthenticationService. My LoginViewModelimports many IAuthenticationService (exposed as a combo box so the user canchoose which authentication service to login to).<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">There are a couple of issues; <o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">In Composition.Clients.cs OnEntityManagerCreated gives the error “Probedfor service with contract IAuthenticationService and found multiple matchingexports” – so it seems I can only have one IAuthenticationService. <o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">Secondly, if I could have multiple AuthenticationServices how toconfigure the individual EntityManagerProviders to use the correctAuthenticationService?<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">&nbsp;</span></p><p ="Ms&#111;normal"><span style="font-size:10.0pt;line-height:115%;font-family:  C&#111;nsolas">Regards, Paul<o:p></o:p></span></p>]]>
   </description>
   <pubDate>Fri, 22 Feb 2013 03:41:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4002&amp;PID=15896#15896</guid>
  </item> 
 </channel>
</rss>