I'm working with the Mule ESB 3.4 and the IDE MuleStudio 3.4.0 on a flow to login to facebook, using the facebook-cloud-connector. The auth works fine, but now I'm looking for a way to re/store the generated accesstoken I recieve from facebook via:
<facebook:oauth-callback-config domain="localhost" localPort="7081" remotePort="7081" />
I currently use the following snippet to persist the auth-data to disk:
<facebook:oauth-store-config objectStore-ref="_defaultUserObjectStore">
The question is: How can I store the information, an objectstore, into a database?
Cheers!
EDIT: For everyone who wants struggled on the same point. I've create a Class which inherits the ObjectStore class from the mule api. After that, I've overriden the Store method, which gets called, when an accesstoken is requested by the mule-facebook-connector.