.NET Trader isn't using the userId claim returned from the ActiveSTS
--------------------------------------------------------------------
Key: STONEHENGE-111
URL: https://issues.apache.org/jira/browse/STONEHENGE-111
Project: Stonehenge
Issue Type: Bug
Components: DOTNET_CLIENT
Affects Versions: M2
Environment: dotnet
Reporter: Ben Dewey
I can't seem to find anywhere that the TraderClient is using the userid
returned from the active STS.
There are two places I've seen.
1. Account.aspx.cs (line 40): userid is set to null and the GetDefaultUserId
is used
2. Controls/AccountOrders.ascx.cs (line 46): userId is set to
HttpContext.Current.User.Identity.Name which returns unll
The should both be something like the following:
userid = (from c in ((IClaimsIdentity)HttpContext.Current.User.Identity).Claims
where c.ClaimType ==
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier"
select c.Value).FirstOrDefault();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.