<?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 and SessionBundle</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Login and SessionBundle</description>
  <pubDate>Tue, 28 Apr 2026 00:21:30 -700</pubDate>
  <lastBuildDate>Wed, 12 Nov 2008 13:00:32 -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=998</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 and SessionBundle : Bingo! I had the probeAssembly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3622#3622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 998<br /><strong>Posted:</strong> 12-Nov-2008 at 1:00pm<br /><br />Bingo! I had the probeAssembly in the wrong place, it was in the EdmKeys. I saw the existing probe elements for my Entity model and Domain Model and just added it there because in Classic it was in the rdbKey. Thanks for your help, I would never have found it on my own. But then, I don't recall seeing this documented anywhere. Did I overlook it?<DIV>&nbsp;</DIV><DIV>Ron</DIV>]]>
   </description>
   <pubDate>Wed, 12 Nov 2008 13:00:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3622#3622</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : Double check the following -  Your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3618#3618</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> 998<br /><strong>Posted:</strong> 12-Nov-2008 at 9:48am<br /><br /><P>Double check the following -</P><UL><LI>Your class should implement the IEntityLoginManager interface (was IPersistenceLoginManager in Classic).</LI><LI>&nbsp;The Login method should have this signature:</LI></UL><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV>&nbsp;&nbsp; IPrincipal Login(ILoginCredential pCredential, EntityManager pManager);</DIV></BLOCKQUOTE><UL><LI>&nbsp;Reference IdeaBlade.EntityModel.v4 in the project containing this Login class.</LI><LI>&nbsp;Add the assembly name to the top-level probe assembly names in config; probing for this interface does not look at the EdmKeys or RdbKeys:</LI></UL><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV>&nbsp;&nbsp; &lt;ideaBlade.v4 version="4.00" ..... &gt;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; &lt;probeAssemblyNames&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;probeAssemblyName name="MyServerLib" /&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/probeAssemblyNames&gt;<BR>&nbsp; &lt;/ideaBlade.v4&gt;&nbsp;&nbsp;&nbsp; </DIV></BLOCKQUOTE><UL dir=ltr><LI><DIV>Make sure this assembly is in the folder where the executable is located.</DIV></LI><LI><DIV>Check the debug log.&nbsp; If your IEntityLoginManager was found a trace message will be written.</DIV></LI><LI><DIV>Also make sure you have only one implementation of IEntityLoginManager.&nbsp; If by some strange turn of events more than one is found in the probe assemblies, we'll actually ignore them all :).</DIV></LI></UL>]]>
   </description>
   <pubDate>Wed, 12 Nov 2008 09:48:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3618#3618</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : Kim, Well, I know what was adding...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3617#3617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 998<br /><strong>Posted:</strong> 12-Nov-2008 at 7:37am<br /><br /><P>Kim,</P><DIV>Well, I know what was adding to my confusion. The project I'm trying to convert to EF borrowed heavily from the security learning unit you provide with Classic. Since the only thing I changed in my code was the Ideablade references and the code which expected a SessionBundle to be returned, I assumed (I know, I shoud know better) that my custon Login Manager would be called; it is not. So, I checked the AppHelper App.config file and added a probeAssemblyName for the assembly which contaiins my custom Login Manager. Still nothing. I have checked to make sure that the Ideablade References are correct so right now I'm stumped. I'm not ready to say this is your problem yet, I still want to make sure it is not something I've overlooked. If you have any suggestions, I would appreciate it.</DIV><DIV>&nbsp;</DIV><DIV>Ron</DIV>]]>
   </description>
   <pubDate>Wed, 12 Nov 2008 07:37:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3617#3617</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : Thank you for the clarification....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3614#3614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 998<br /><strong>Posted:</strong> 11-Nov-2008 at 4:51pm<br /><br />Thank you for the clarification.]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 16:51:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3614#3614</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : There is no IdeaBlade IIdentity...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3611#3611</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> 998<br /><strong>Posted:</strong> 11-Nov-2008 at 3:59pm<br /><br />There is no IdeaBlade IIdentity in Classic, we've always used the System.Security.Principal.IIdentity, and System.Security.Principal.IPrincipal, interfaces.&nbsp; <DIV>&nbsp;</DIV><DIV>The Login method returns - via the SessionBundle in DevForce Classic or the Thread.CurrentPrincipal in both versions - the concrete Principal type returned by your LoginManager implementation.&nbsp; If you don't implement a LoginManager, then a GenericPrincipal, containing a GenericIdentity, is returned.&nbsp; </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 15:59:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3611#3611</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : Kim, Thanks, but I&amp;#039;m still...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3610#3610</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 998<br /><strong>Posted:</strong> 11-Nov-2008 at 2:51pm<br /><br />Kim,<DIV>Thanks, but I'm still a bit unclear as to how this works in EF compared to Classic. If I get the Identity as you suggest, it reflects that it is of the type GenericEntity. Classic sets the Identity in the sessionbundle&nbsp;to the Ideablade IIdentity. Can the type of Identity be ignored in EF?</DIV><DIV>&nbsp;</DIV><DIV>Ron</DIV>]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 14:51:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3610#3610</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : After Login is called, the Thread.CurrentPrincipal...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3608#3608</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> 998<br /><strong>Posted:</strong> 11-Nov-2008 at 1:28pm<br /><br /><P>After Login is called, the Thread.CurrentPrincipal is set to the IPrincipal from the SessionBundle.&nbsp; You can access this in your code like so:</P><DIV>&nbsp;&nbsp; Dim identity = System.Threading.Thread.CurrentPrincipal.Identity</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks for the heads up on the documentation - we'll get that fixed.</DIV>]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 13:28:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3608#3608</guid>
  </item> 
  <item>
   <title>Login and SessionBundle : The EntityManager.Login method...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3605#3605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 998<br /><strong>Posted:</strong> 11-Nov-2008 at 10:30am<br /><br />The EntityManager.Login method now returns a boolean instead of a SessionBundle. So, how can I get access to the Identity created by the login? In Classic this was available through SessionBundle. The EF Developer's guide still indicates that Login returns a SessionBundle as does some of the Help document.]]>
   </description>
   <pubDate>Tue, 11 Nov 2008 10:30:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=998&amp;PID=3605#3605</guid>
  </item> 
 </channel>
</rss>