linhopa / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

no means to pass realm parameter in authorization header #205

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. using the java oauth 1.0 library, attempt to get request token using 
ParameterStyle.AUTHORIZATION_HEADER with a realm parameter.

What is the expected output? What do you see instead?
there is no means to include the realm parameter in the authorization header.

What version of the product are you using? On what operating system?
oauth-consumer version 20100527

Please provide any additional information below.
in HttpMessage.java, the realm is always passed as null to 
getAuthorizationHeader:

150         case AUTHORIZATION_HEADER:
151             headers.add(new OAuth.Parameter("Authorization", 
from.getAuthorizationHeader(null)));

Original issue reported on code.google.com by zan...@gmail.com on 10 Jun 2011 at 12:12