Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect error, oauth replay #6

Closed
wants to merge 2 commits into from

Conversation

jloomis
Copy link
Contributor

@jloomis jloomis commented Apr 5, 2011

first commit is to make it a little easier to use response filter + signature calculator; curr have to do something like
FluentCaseInsensitiveStringsMap headers = ctx.getRequest().getHeaders();
headers.remove(OAuthSignatureCalculator.HEADER_AUTHORIZATION);
RequestBuilder builder = new RequestBuilder(ctx.getRequest());
signatureCalculator.calculateAndAddSignature(endpoint, ctx.getRequest(), builder);
return new FilterContext.FilterContextBuilder(ctx).request(builder.build()).replayRequest(true).build();

2nd is to fix a regression from 5a25ee

@jfarcand
Copy link
Contributor

jfarcand commented Apr 7, 2011

@jfarcand jfarcand closed this Apr 7, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants