I'd like to test rest services which implement oauth1.0a.

What's the best way to generate the CLIENT oauth1.0a headers necessary to
do this?

I've seen how to manually construct a client request with oauth headers (
https://github.com/ams10961/siwtjsf) but am not sure whether I can
manipulate all the headers correctly when making the client calls from a rs
client in an arquillian test...

Has anyone managed to do this, or are there rs clients that will generate
the oauth headers that I could use from an arquillian test?




import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
Resteasy-users mailing list

Reply via email to