We are moving from our old .NET 1.1 remoted system to a .NET 4.0 WCF architecture. Part of the system is a Desktop client app that we are using to call 300+ functions that sit on our middle tier.
We are consolidating these remotable functions into 9 services but need a good way to verify a user has first performed the "login" function before any other subsequent WCF calls.
Since login only happens on one of these services, I am not sure if there is a way to "federate" this across the services. (All are hosted on the same machine, same domain.) We are exposing the services over net.tcp with the goal of also allowing wshttp binding for external clients in the long run. (not sure if I get something extra with a different binding that might help)
What I've come up with is to host a singleton that holds authentication info. When a user login is verified and submitted to a "Security Store" we return a Guid back to the client to send with subsequent WCF calls.
And then each WCF call will validate against the singleton "Security Store".
So the question is... Can I use something native to WCF to accomplish this same goal?