Metro Client to STS across domain trust
I have two STS, A and B. I have a service that's registered as a relying party on STS B. I can make requests for users in the domain of STS B to get a token and use it to make a request on my service.
My sample code for users looks like this:
DefaultSTSIssuedTokenConfiguration stsConfig = new DefaultSTSIssuedTokenConfiguration();
STSIssuedTokenFeature feature = new STSIssuedTokenFeature(stsConfig);
Svc_Service client = new Svc_Service();
Svc port = client.serviceMethodPort(feature);
I am trying to do the same for users that will authenticate on STS A. I can't find any examples anywhere including the documentation that will allow me to cross the trust relationship, getting the token initially from STS A and using that to get a token from STS B for my service.
Any guidance is appreciated.