I need to get a Windows token from from Claims. The solution is a Claims Aware WCF webservice that uses ADFS 2.0 and runs in IIS ASP.NET 4.0. (The kerberos token is needed towards impersonated database access)
In .NET 3.5 and 4.0 the c2WTS Service is used to get Windows Identity from claims:
WindowsIdentity winId = S4UClient.UpnLogon(upn);
But the documentation for the c2WTS states the following: "...[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4..."
What would be the equivalent of c2WTS in .NET 4.5?