Pablo Cibraro
Fri, 11 Dec 2009 11:18:33 -0800
No problem Ben. This is the code I am using,
string userClaim = GetUserIdClaim();
if (userClaim != null)
{
userID = userClaim;
}
I am basically looking for the user id in the claims. If the claim is not found, the userID is not set, so the userID passed as argument in the operation is used. Otherwise, the user id in the claim is used. Does it make sense ? Thanks Pablo. -----Original Message----- From: Ben Dewey [mailto:ben.de...@26ny.com] Sent: Friday, December 11, 2009 3:55 PM To: stonehenge-dev@incubator.apache.org Subject: RE: (STONEHENGE-111) .NET Trader isn't using the userId claim returned from the ActiveSTS Pablo, > Could you apply it in the trunk when you have some time ?. I'll try to get around to it this weekend, but I'm going out-of-town, so if not I should be able to apply it on Monday night. Although, I just looked at the patch and have one question. It seems you are checking to see if GetUserIdClaim() == null, but the final line in that function throws an exception. Doesn't seem like that would work, am I reading that wrong? -Ben Dewey