Maybe my understanding is wrong, please advice.
Requirement:
(1) user A, and user B wanna to access a web service SayHello.
(2) only user A has permission.
(3) SayHello web service simply return a string "hello"
Previously:
(1) To invoke SayHello, create a client according to SayHello?wsdl. -- Success
(2) Create a proxy service SayHelloProxyService through ESB, host this proxy service to SayHello service, create a client according to SayHelloProxyService?wsdl. --Success
Now:
Add Identity Server inside, only give user A access permission, something like the following diagram :
Question:
for now, I'm thinking if I still wanna to invoke SayHelloProxyService, should I change the client's code? carrying some tokens like username or what to SayHelloProxyService? if so how to write the client code? maybe my understanding is totally wrong, but if there is a small example regarding will be a great help, could anyone know about this?
thank you in advance.