<?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 : Login behaviour in Model Explorer Sample Application</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Login behaviour in Model Explorer Sample Application</description>
  <pubDate>Sat, 11 Apr 2026 07:10:58 -700</pubDate>
  <lastBuildDate>Mon, 13 Apr 2009 12:30: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=1207</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>Login behaviour in Model Explorer Sample Application : The ModelExplorerViewModel is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1207&amp;PID=4364#4364</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1207<br /><strong>Posted:</strong> 13-Apr-2009 at 12:30pm<br /><br />The ModelExplorerViewModel is doing a synchronous call to the PersistenceService Login, but that method, in BasicPersistenceService, is actually performing an asynchronous login using EnitityManager.LogicAsync.&nbsp; This works with null credentials because in this sample there's no IEntityLoginManager implementation to validate credentials.&nbsp; DevForce itself accepts null credentials and creates a dummy GenericPrincipal to uniquely identify&nbsp;the user.&nbsp; <DIV>&nbsp;</DIV><DIV>To have DevForce enforce user authentication you should implement the IEntityLoginManager interface, and also set the "loginManagerRequied" flag in the ideaBlade.v4 element:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp; &lt;ideaBlade.v4 version="4.00"&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;clientApplicationType="Silverlight"</DIV><DIV><DIV><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loginManagerRequired="true"</strong></DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;</DIV>]]>
   </description>
   <pubDate>Mon, 13 Apr 2009 12:30:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1207&amp;PID=4364#4364</guid>
  </item> 
  <item>
   <title>Login behaviour in Model Explorer Sample Application : Hello,  After little digging...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1207&amp;PID=4357#4357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=56" rel="nofollow">antalakas</a><br /><strong>Subject:</strong> 1207<br /><strong>Posted:</strong> 10-Apr-2009 at 2:33pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>After little digging in this example, i found that when the Login (sync) function is called, the login credentials are null. This doesn 't stop the callback (logged in?) to hit with success (logged in!) and the Principal member filled in correctly.</DIV><DIV>&nbsp;</DIV><DIV>Could you please clarify what is going on?</DIV><DIV>&nbsp;</DIV><DIV>On second view i found a region principal_id in the .ibedmx designer. Is this relevant?</DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV><DIV>&nbsp;</DIV><DIV>Andreas</DIV>]]>
   </description>
   <pubDate>Fri, 10 Apr 2009 14:33:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1207&amp;PID=4357#4357</guid>
  </item> 
 </channel>
</rss>