This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
Override the oauth_signature_method for connection factoriesPage Title Module
You can't override the signature method from the connection factory. That's a lower level detail that's handled in OAuth1Template (actually, even a bit deeper in SigningSupport). You'll need to create a custom subclass of OAuth1Template and reference that new implementation from the service provider.
But my curiosity demands that I ask: Why do you want it to be PLAINTEXT? Doesn't Dropbox support HMAC_SHA1? Why would you want to go back to the less-secure PLAINTEXT? To be honest, I wasn't even aware that any providers even supported anything other than HMAC_SHA1 (even though the spec says they may support PLAINTEXT and RSA_SHA1).
So, to be clear...did it end up working with HMAC_SHA1? I got to thinking a bit later that even the authorization shouldn't have worked if DropBox doesn't support HMAC_SHA1, because that's used for encoding even during the authorization flow. So, if it was working for you during authorization, it should've worked at API-binding time.
You say you created your own docs? Did you make those available somewhere? Perhaps you could submit a pull request back to vbfischer for inclusion in his module? Or since he's been fairly silent on GitHub since Nov 29th, maybe you could just make your fork of his project available for others to use.
Clearly, I just glanced over the article and made some assumptions.
Right now I'm prototyping spring-social in general and yes have started creating some docs on not only setting up the project but also how to properly use the Drop Box plugins. Currently it's on my private GitHub Wiki for the project which, as I progress I'll open up - or hit me up and I can give you some working progress.
At the end of the day understanding how the paths are relative in certain circumstances is what is missing. The project also includes some account integration with an external account system.