We are subclassing OAuthRequest and override its sanitizeAndSign method, which references "accessorInfo", which currently has "private" scope in the superclass.
This is forcing us to redefine and initialize "accessorInfo" in our subclass, by copying this code from OAuthRequest#fetchNoThrow():
accessorInfo = fetcherConfig.getTokenStore().getOAuthAccessor(
realRequest.getSecurityToken(), realRequest.getOAuthArguments(), clientState,
As a result of this, we also need to redefine "realRequest" in our subclass, because it also has "private" scope in the superclass.
We might consider broadening the scope of some of the other fields of OAuthRequest, but at a minimum, we should change the visibility of "accessorInfo" and "realRequest" from "private" to "protected".
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||2.0.0-RC1 [ 12314413 ]|
|Resolution||Fixed [ 1 ]|
|Workflow||jira [ 12512890 ]||patch-available, re-open possible [ 12629867 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|22m 46s||1||Paul Lindner||08/Jun/10 20:17|