I am trying to hook into the Web Forms ASP.NET pipeline and extend the HttpContext.Current.User.Identity
in such a way that the Name
property returns a custom implementation.
One possible approach which I have found in another answer that it is possible to add new properties by adding claims. The two questions I have are:
- Where to add the claims in the ASP.NET Web Forms pipeline? And
- Is it possible to override the existing
Name
property?
PostAuthenticate
event. Note that it does not fire for Windows authentication. – Mccrae