<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Zulfiqar&#039;s weblog</title>
	<atom:link href="http://zamd.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://zamd.net</link>
	<description>Middleware, security &#38; random .Net</description>
	<lastBuildDate>Thu, 16 May 2013 22:25:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>Comment on Claim-based-security for ASP.NET Web APIs using DotNetOpenAuth by J.M.</title>
		<link>http://zamd.net/2012/05/04/claim-based-security-for-asp-net-web-apis-using-dotnetopenauth/#comment-765</link>
		<dc:creator><![CDATA[J.M.]]></dc:creator>
		<pubDate>Thu, 16 May 2013 22:25:08 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=378#comment-765</guid>
		<description><![CDATA[I was a little confused by the code in the Protocal Independent Issuer.  The code is loading up a public and private key.  I had thought that OAuth did not require SSL.  Do I need to buy certificates?]]></description>
		<content:encoded><![CDATA[<p>I was a little confused by the code in the Protocal Independent Issuer.  The code is loading up a public and private key.  I had thought that OAuth did not require SSL.  Do I need to buy certificates?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Claim-based-security for ASP.NET Web APIs using DotNetOpenAuth by Akila Kumarasamy</title>
		<link>http://zamd.net/2012/05/04/claim-based-security-for-asp-net-web-apis-using-dotnetopenauth/#comment-752</link>
		<dc:creator><![CDATA[Akila Kumarasamy]]></dc:creator>
		<pubDate>Wed, 08 May 2013 22:49:44 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=378#comment-752</guid>
		<description><![CDATA[Hi,

Its a good example, Can I know how to add different claims with the claim type in the OAuthIssuer? Also, the OAuthIssuer throws BAD REQUEST error if the client has the latest nuget package on the DotNetOpenAuth. How can we fix this? Can you please help?]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Its a good example, Can I know how to add different claims with the claim type in the OAuthIssuer? Also, the OAuthIssuer throws BAD REQUEST error if the client has the latest nuget package on the DotNetOpenAuth. How can we fix this? Can you please help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ExtractSAMLAssertion by taranglutearang</title>
		<link>http://zamd.net/2010/03/10/extractsamlassertion/#comment-739</link>
		<dc:creator><![CDATA[taranglutearang]]></dc:creator>
		<pubDate>Thu, 02 May 2013 09:22:49 +0000</pubDate>
		<guid isPermaLink="false">http://zuahmed.wordpress.com/2010/03/10/extractsamlassertion/#comment-739</guid>
		<description><![CDATA[Hi..i am stuck very badly at one point where i need to do Ms Dynamics Crm WebLogin from my client application which is a Winform application developed  in C# 4.0.My Scenario is like user will do login to CRM from desktop application and i want to show user,activity record web page of CRM.My application is able to do crm login for the user,but i am not able to show activity,user web page as i am not logged in the Web.
Also i tries to decrypt Saml Assertion value which i got when user logged in,but dont no how to decrypt the Saml.Saml i am getting is Saml 2.0.My Ms Crm Account is of Office 365.Can you Please suggest some way out to do CRM Weblogin from my  application.]]></description>
		<content:encoded><![CDATA[<p>Hi..i am stuck very badly at one point where i need to do Ms Dynamics Crm WebLogin from my client application which is a Winform application developed  in C# 4.0.My Scenario is like user will do login to CRM from desktop application and i want to show user,activity record web page of CRM.My application is able to do crm login for the user,but i am not able to show activity,user web page as i am not logged in the Web.<br />
Also i tries to decrypt Saml Assertion value which i got when user logged in,but dont no how to decrypt the Saml.Saml i am getting is Saml 2.0.My Ms Crm Account is of Office 365.Can you Please suggest some way out to do CRM Weblogin from my  application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Federating Office 365 (Azure Active Directory) with a Custom STS by Job Vermeulen</title>
		<link>http://zamd.net/2013/02/08/federating-a-custom-sts-with-office-365-azure-active-directory/#comment-733</link>
		<dc:creator><![CDATA[Job Vermeulen]]></dc:creator>
		<pubDate>Fri, 26 Apr 2013 16:16:09 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=453#comment-733</guid>
		<description><![CDATA[Are the changes already online somewhere?]]></description>
		<content:encoded><![CDATA[<p>Are the changes already online somewhere?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PasswordDigest authentication in WCF by Ubayeed Syed</title>
		<link>http://zamd.net/2010/07/12/passworddigest-authentication-in-wcf/#comment-723</link>
		<dc:creator><![CDATA[Ubayeed Syed]]></dc:creator>
		<pubDate>Thu, 11 Apr 2013 13:37:00 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=207#comment-723</guid>
		<description><![CDATA[Reposting the sample SoapUI PasswordDigest xml as in above the xml tags were stripped off.

&quot;CWTTESTxkmd5cSn0qLDCgKPglXq973Do+Y=rKxB+QR3z2jU8ZPzh9re3Q==2013-04-10T20:10:20.164Z&quot;]]></description>
		<content:encoded><![CDATA[<p>Reposting the sample SoapUI PasswordDigest xml as in above the xml tags were stripped off.</p>
<p>&#8220;CWTTESTxkmd5cSn0qLDCgKPglXq973Do+Y=rKxB+QR3z2jU8ZPzh9re3Q==2013-04-10T20:10:20.164Z&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PasswordDigest authentication in WCF by Ubayeed Syed</title>
		<link>http://zamd.net/2010/07/12/passworddigest-authentication-in-wcf/#comment-722</link>
		<dc:creator><![CDATA[Ubayeed Syed]]></dc:creator>
		<pubDate>Thu, 11 Apr 2013 13:30:52 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=207#comment-722</guid>
		<description><![CDATA[I found the following bug when I was testing &quot;Password Type = PasswordDigest&quot; from SoapUI. The issue is with createdate format (i.e. in UserNamePasswordDigestValidator.cs\ComputePasswordDigest) for e.g. the security header added by SoapUI looks as follows 

USERNAMExkmd5cSn0qLDCgKPglXq973Do+Y=rKxB+QR3z2jU8ZPzh9re3Q==2013-04-10T20:10:20.164Z

But the code checks for the following format (line commented below) and does not account for milli-seconds (i.e. ‘f’). Modifying the following line fixes it.

            //byte[] createdBytes = Encoding.UTF8.GetBytes(XmlConvert.ToString(created.ToUniversalTime(), &quot;yyyy-MM-ddTHH:mm:ssZ&quot;));
            byte[] createdBytes = Encoding.UTF8.GetBytes(XmlConvert.ToString(created.ToUniversalTime(), &quot;yyyy-MM-ddTHH:mm:ss.fffZ&quot;));

Once I made the fix I was able to validate the Password digest (i.e. &quot;xkmd5cSn0qLDCgKPglXq973Do+Y=&quot;). Anybody who uses SoapUI for testing may come across this issue on a side note I am not sure if this would be an issue when testing from other tools. For troubleshooting this issue I&#039;ve used WCF trace logs and noticed an inner-exception &quot;Invalid password.&quot;

Thanks Zulfiqar for your sample as it works great.]]></description>
		<content:encoded><![CDATA[<p>I found the following bug when I was testing &#8220;Password Type = PasswordDigest&#8221; from SoapUI. The issue is with createdate format (i.e. in UserNamePasswordDigestValidator.cs\ComputePasswordDigest) for e.g. the security header added by SoapUI looks as follows </p>
<p>USERNAMExkmd5cSn0qLDCgKPglXq973Do+Y=rKxB+QR3z2jU8ZPzh9re3Q==2013-04-10T20:10:20.164Z</p>
<p>But the code checks for the following format (line commented below) and does not account for milli-seconds (i.e. ‘f’). Modifying the following line fixes it.</p>
<p>            //byte[] createdBytes = Encoding.UTF8.GetBytes(XmlConvert.ToString(created.ToUniversalTime(), &#8220;yyyy-MM-ddTHH:mm:ssZ&#8221;));<br />
            byte[] createdBytes = Encoding.UTF8.GetBytes(XmlConvert.ToString(created.ToUniversalTime(), &#8220;yyyy-MM-ddTHH:mm:ss.fffZ&#8221;));</p>
<p>Once I made the fix I was able to validate the Password digest (i.e. &#8220;xkmd5cSn0qLDCgKPglXq973Do+Y=&#8221;). Anybody who uses SoapUI for testing may come across this issue on a side note I am not sure if this would be an issue when testing from other tools. For troubleshooting this issue I&#8217;ve used WCF trace logs and noticed an inner-exception &#8220;Invalid password.&#8221;</p>
<p>Thanks Zulfiqar for your sample as it works great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Simple Web Token (SWT) with WIF by Part 1: Protecting an ASP.net Web API hosted on Azure with OAuth Simple Web Tokens using the Access Control Service – Server Side - AfricaApps - Site Home - MSDN Blogs</title>
		<link>http://zamd.net/2011/02/08/using-simple-web-token-swt-with-wif/#comment-712</link>
		<dc:creator><![CDATA[Part 1: Protecting an ASP.net Web API hosted on Azure with OAuth Simple Web Tokens using the Access Control Service – Server Side - AfricaApps - Site Home - MSDN Blogs]]></dc:creator>
		<pubDate>Thu, 04 Apr 2013 15:36:59 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/2011/02/08/using-simple-web-token-swt-with-wif/#comment-712</guid>
		<description><![CDATA[[...] http://zamd.net/2011/02/08/using-simple-web-token-swt-with-wif/http://netfx.codeplex.com/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://zamd.net/2011/02/08/using-simple-web-token-swt-with-wif/http://netfx.codeplex.com/" rel="nofollow">http://zamd.net/2011/02/08/using-simple-web-token-swt-with-wif/http://netfx.codeplex.com/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Configuring SAML Assertion Subject Name and Format for a WIF STS by WIF and nameidentifier format &#124; Peter&#039;s ruminations</title>
		<link>http://zamd.net/2010/04/27/configuring-saml-assertion-subject-name-and-format-for-a-wif-sts/#comment-708</link>
		<dc:creator><![CDATA[WIF and nameidentifier format &#124; Peter&#039;s ruminations]]></dc:creator>
		<pubDate>Wed, 03 Apr 2013 06:26:30 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/2010/04/27/configuring-saml-assertion-subject-name-and-format-for-a-wif-sts/#comment-708</guid>
		<description><![CDATA[[...] http://zamd.net/2010/04/27/configuring-saml-assertion-subject-name-and-format-for-a-wif-sts/ [...]]]></description>
		<content:encoded><![CDATA[<p>[...] <a href="http://zamd.net/2010/04/27/configuring-saml-assertion-subject-name-and-format-for-a-wif-sts/" rel="nofollow">http://zamd.net/2010/04/27/configuring-saml-assertion-subject-name-and-format-for-a-wif-sts/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying Umbraco to Windows Azure by zamd</title>
		<link>http://zamd.net/2012/01/27/deploying-umbraco-to-windows-azure/#comment-706</link>
		<dc:creator><![CDATA[zamd]]></dc:creator>
		<pubDate>Tue, 02 Apr 2013 19:01:28 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=372#comment-706</guid>
		<description><![CDATA[Hi Kristan, yes it&#039;s the backend I meant.]]></description>
		<content:encoded><![CDATA[<p>Hi Kristan, yes it&#8217;s the backend I meant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Federating Office 365 (Azure Active Directory) with a Custom STS by zamd</title>
		<link>http://zamd.net/2013/02/08/federating-a-custom-sts-with-office-365-azure-active-directory/#comment-705</link>
		<dc:creator><![CDATA[zamd]]></dc:creator>
		<pubDate>Tue, 02 Apr 2013 18:59:03 +0000</pubDate>
		<guid isPermaLink="false">https://zuahmed.wordpress.com/?p=453#comment-705</guid>
		<description><![CDATA[Hi Andreas, This error means you don&#039;t have Azure AD configured as a relying part in your IdentityServer.]]></description>
		<content:encoded><![CDATA[<p>Hi Andreas, This error means you don&#8217;t have Azure AD configured as a relying part in your IdentityServer.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
