I'm not even sure that this is possible but I am not able to find a clear answer in any kbs, help or documentation.
I have a WebAPI which is secured via ACS. An application uses a service identity to authenticate via ACS with my WebAPI to allow access. What I would like to do is have claims presented for the service identity to identify the individual identities. i.e. Service Identity A presents a type and id for example and Service Identity B presents different values for the same claim types, and then my WebAPI can authorize particular calls based on the claim values.
Currently I have this implemented via a Rule Group using Output Claims with Claim Values set via the ACS Portal however the rule group is applied to all service identities accessing the relying application (My WebAPI), what I need is to have the service identities each having differing claim values.
As all communication is service to service I planned on using ACS and not another Identity Provider such as Live/Microsoft Account or Google. However at present the only conclusion I can come to is implementing my own custom STS to provide the Claims Values.
I hope I've explained my scenario clearly can anyone help at all, how do I set claim values for individual Service Identities or should I be doing this a different way?
Thanks
Andrew