I'm trying to find a standard solution in WCF for the following scenario:
I have 2 services. Service1 wants to send a request to service2. I want that service1 will send credentials in order to authenticate before service2 response to his request.
I dont want to use ssl or to copy certificates between all the network services.
This is my solution:
I will create one "security service".
Service1 will authenticate against the security service.
On successful authentication, this security service will provide service1 a custom token, signed by the security service.
Service1 will attach this token to each of it's request.
Service2 will validate this token, and if succeeded, will handle the request.
The answer is if there is a way in C# (WCF) to implement this mechanism.
Thanks