<?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 : Windows Authentication &amp; LoginViewModel</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Windows Authentication &amp; LoginViewModel</description>
  <pubDate>Mon, 13 Apr 2026 18:07:13 -700</pubDate>
  <lastBuildDate>Wed, 25 Jul 2012 19:39:17 -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=3551</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>Windows Authentication &amp; LoginViewModel :   They are for both, but in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14086#14086</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> 3551<br /><strong>Posted:</strong> 25-Jul-2012 at 7:39pm<br /><br />They are for both, but in case of WPF, they only apply to an n-tier IIS deployment as in order to use ASP.NET security you need to deploy the EntityServer to IIS.<div>&nbsp;</div><div>If you are building a 2-tier WPF application or run the EntityServer from the command line or as a Windows service, then you have to implement your own LoginManager that grabs the WindowsPrincipal upon login. The following shows how you can accomplish this in a 2-tier application. You can adapt the code accordingly for the other two scenarios.</div><div>&nbsp;</div><div><pre style=": white; color: black; font-family: C&#111;nsolas;">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: blue;">class</span>&nbsp;<span style="color: rgb43, 145, 175;">AppBootstrapper</span>&nbsp;:&nbsp;<span style="color: rgb43, 145, 175;">FrameworkBootstrapper</span>&lt;<span style="color: rgb43, 145, 175;">MainViewModel</span>&gt;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">private</span>&nbsp;<span style="color: rgb43, 145, 175;">IAuthenticationService</span>&nbsp;_authenticationService; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">static</span>&nbsp;AppBootstrapper()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: rgb43, 145, 175;">AppDomain</span>.CurrentDomain.SetPrincipalPolicy(<span style="color: rgb43, 145, 175;">PrincipalPolicy</span>.WindowsPrincipal);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">protected</span>&nbsp;<span style="color: blue;">override</span>&nbsp;<span style="color: blue;">void</span>&nbsp;PrepareCompositionContainer(<span style="color: rgb43, 145, 175;">CompositionBatch</span>&nbsp;batch)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">base</span>.PrepareCompositionContainer(batch);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;batch.AddExportedValue(_authenticationService&nbsp;=&nbsp;<span style="color: blue;">new</span>&nbsp;<span style="color: rgb43, 145, 175;">AuthenticationService</span>());&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">protected</span>&nbsp;<span style="color: blue;">override</span>&nbsp;<span style="color: blue;">void</span>&nbsp;StartRuntime()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">base</span>.StartRuntime();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_authenticationService.Login(<span style="color: blue;">null</span>);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;&nbsp;}</pre><pre style=": white; color: black; font-family: C&#111;nsolas;"><pre style=": white; color: black; font-family: C&#111;nsolas;">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: blue;">class</span>&nbsp;<span style="color: rgb43, 145, 175;">WindowsLoginManager</span>&nbsp;:&nbsp;<span style="color: rgb43, 145, 175;">IEntityLoginManager</span>&nbsp;&nbsp;&nbsp;&nbsp;{<span style="color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#region</span>&nbsp;IEntityLoginManager&nbsp;Members &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: rgb43, 145, 175;">IPrincipal</span>&nbsp;Login(<span style="color: rgb43, 145, 175;">ILoginCredential</span>&nbsp;credential,&nbsp;<span style="color: rgb43, 145, 175;">EntityManager</span>&nbsp;entityManager)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">return</span>&nbsp;<span style="color: rgb43, 145, 175;">Thread</span>.CurrentPrincipal;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">public</span>&nbsp;<span style="color: blue;">void</span>&nbsp;Logout(<span style="color: rgb43, 145, 175;">IPrincipal</span>&nbsp;principal,&nbsp;<span style="color: rgb43, 145, 175;">EntityManager</span>&nbsp;entityManager)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} <span style="color: blue;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#endregion</span>&nbsp;&nbsp;&nbsp;&nbsp;}</pre></pre></div>]]>
   </description>
   <pubDate>Wed, 25 Jul 2012 19:39:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14086#14086</guid>
  </item> 
  <item>
   <title>Windows Authentication &amp; LoginViewModel : This is for a WPF application....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14085#14085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1213" rel="nofollow">jlozina</a><br /><strong>Subject:</strong> 3551<br /><strong>Posted:</strong> 25-Jul-2012 at 6:22pm<br /><br />This is for a WPF application. <br><br>Are the instructions above for WPF or Silverlight?<br>]]>
   </description>
   <pubDate>Wed, 25 Jul 2012 18:22:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14085#14085</guid>
  </item> 
  <item>
   <title>Windows Authentication &amp; LoginViewModel :   First, ASP.NET security needs...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14080#14080</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> 3551<br /><strong>Posted:</strong> 24-Jul-2012 at 9:04am<br /><br />First, ASP.NET security needs to be configured in the web.config and not the app.config. Is this WPF or Silverlight? <div>&nbsp;</div><div>Then, did you follow the instructions at the very&nbsp;top of the link&nbsp;above to configure DevForce to use ASP.NET security?</div><div>&nbsp;</div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/security-aspnet" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/security-aspnet</a></div><div>&nbsp;</div><div><p>In order to use ASP.NET security in DevForce you must set the <em><span ="wikiexternal"><a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n/webframe.html?IdeaBlade.Core~IdeaBlade.Core.C&#111;nfigurati&#111;n.ServerSettingsElement~UseAspNetSecurityServices.html" target="_blank"><u><font color="#0066cc">UseAspNetSecurityServices</font></u></a></span></em> flag in the web.config or server .config to enable it.  When enabled, DevForce will use the <em><span ="wikiexternal"><a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n/webframe.html?IdeaBlade.EntityModel.Web~IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager.html" target="_blank"><u><font color="#0066cc">AspAuthenticatingLoginManager</font></u></a></span></em> to handle login requests from clients.</p><table style="width: 638px;" border="1" cellSpacing="0" borderColor="#ffffff" cellPadding="7"><t><tr vAlign="TOP"><td style="width: 18px;" ="#76923c"><strong><span style="color: black;">XML</span></strong><span style="color: black;"></span></td><td style="width: 590px;" ="#d6e3bc"><div ="xwiki-"><div =" code">&lt;objectServer&gt;<br>  &lt;serverSettings useAspNetSecurityServices=<span style="color: rgb163, 21, 21;">"true"</span> /&gt;<br>&lt;/objectServer&gt;</div></div></td></tr></t></table><p>You must also enable <em><span ="wikiexternal"><a href="http://drc.ideablade.com/Api&#068;ocumentati&#111;n/webframe.html?IdeaBlade.EntityModel.Web~IdeaBlade.EntityModel.Web.AspAuthenticatingLoginManager~AspNetCompatibilityEnabled.html" target="_blank"><u><font color="#0066cc">AspNetCompatibility </font></u></a></span></em> in order to allow the DevForce services to integrate with ASP.NET services. You set this in the <em>system.serviceModel</em> configuration section. Here's the relevant element in the system.serviceModel section:</p><table style="width: 638px;" border="1" cellSpacing="0" borderColor="#ffffff" cellPadding="7"><t><tr vAlign="TOP"><td style="width: 18px;" ="#76923c"><strong><span style="color: black;">XML</span></strong><span style="color: black;"></span></td><td style="width: 590px;" ="#d6e3bc"><div ="xwiki-"><div =" code">&lt;system.serviceModel&gt;<br>  &lt;serviceHostingEnvironment aspNetCompatibilityEnabled=<span style="color: rgb163, 21, 21;">"true"</span> /&gt;<br>&lt;/system.serviceModel&gt;<br></div></div></td></tr></t></table><p>You must enable the ASP.NET services you wish to use in the <em>system.web</em> configuration section of the config file, as well as choose the type of authentication wanted. These steps are described below.</p></div>]]>
   </description>
   <pubDate>Tue, 24 Jul 2012 09:04:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14080#14080</guid>
  </item> 
  <item>
   <title>Windows Authentication &amp; LoginViewModel : Hi   I tried using ASP.NET security...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14078#14078</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1213" rel="nofollow">jlozina</a><br /><strong>Subject:</strong> 3551<br /><strong>Posted:</strong> 24-Jul-2012 at 6:27am<br /><br />Hi <DIV>&nbsp;</DIV><DIV>I tried using ASP.NET security but I get a exception, IdeaBlade.EntityModel.LoginException was unhandled by user code&nbsp; Message=Credentials are required exception at C:\projects\TempHire\Security\LoginManager.cs:line 29</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I commented out the Login() in the ShellViewModel</DIV><DIV>&nbsp;</DIV><DIV>I placed the following at the bottom of the App.config</DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><P>&lt;</FONT></FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>system.web</FONT></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&gt;</P><DIV>&lt;</FONT></FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>authentication</FONT></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas> </FONT></FONT></FONT><FONT color=#ff0000 size=2 face=C&#111;nsolas><FONT color=#ff0000 size=2 face=C&#111;nsolas><FONT color=#ff0000 size=2 face=C&#111;nsolas>mode</FONT></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>=</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>"</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>Windows</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>"</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas> /&gt;</FONT></FONT></FONT></DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&lt;/</FONT></FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>system.web</FONT></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&gt;</FONT></FONT></FONT></DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&lt;/</FONT></FONT></FONT><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas><FONT color=#a31515 size=2 face=C&#111;nsolas>configuration</FONT></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&gt;</DIV></FONT></FONT></FONT></DIV><DIV>&nbsp;</DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas><DIV>and the Bootstrapper code is</DIV><DIV></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>public</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>class</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>AppBootstrapper</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> : </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>BootstrapperBase</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>ShellViewModel</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt;{</DIV><P>&#091;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>Import</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&#093;</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>private</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>IAuthenticationService</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> authenticationService;</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>protected</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>override</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>IEnumerable</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&lt;</FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>IResult</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>&gt; StartRuntimeAsync(){</P><P></FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>yield</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>return</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> authenticationService.LoginAsync(</FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>null</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>).ContinueOnError();</P><P>}}</P><DIV></DIV><P>If you could tell me where I went wrong, I would appreciate it.</P><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Joe</FONT></FONT></DIV>]]>
   </description>
   <pubDate>Tue, 24 Jul 2012 06:27:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14078#14078</guid>
  </item> 
  <item>
   <title>Windows Authentication &amp; LoginViewModel : To use Windows authentication...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14074#14074</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> 3551<br /><strong>Posted:</strong> 23-Jul-2012 at 9:31am<br /><br /><p>To use Windows authentication you have to setup ASP.NET security and set authentication mode to Windows. </p><div>&nbsp;</div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/security-aspnet#HWindowsAuthenticati&#111;n" target="_blank"><u><font color="#0066cc">http://drc.ideablade.com/xwiki/bin/view/Documentation/security-aspnet#HWindowsAuthentication</font></u></a></div><div>&nbsp;</div><div>Then you login with null as the credential. You can do this directly in the bootstrapper in StartRuntime or StartRuntimeAsync. This will pick up your current Windows principal and log you in.</div>]]>
   </description>
   <pubDate>Mon, 23 Jul 2012 09:31:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14074#14074</guid>
  </item> 
  <item>
   <title>Windows Authentication &amp; LoginViewModel : Hi  I was looking at at the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14073#14073</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1213" rel="nofollow">jlozina</a><br /><strong>Subject:</strong> 3551<br /><strong>Posted:</strong> 23-Jul-2012 at 5:39am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>I was looking at at the LoginViewModel and was wondering how you would be able to login using WindowsIdentity &amp; WindowsPrincipal instead of the ILoginCredential?</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Joe</DIV>]]>
   </description>
   <pubDate>Mon, 23 Jul 2012 05:39:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3551&amp;PID=14073#14073</guid>
  </item> 
 </channel>
</rss>