function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kam.ax1015Kam.ax1015 

Database.com Java sdk

Hello,

 

I am able to get following working.

 

a) Using JPA (https://github.com/forcedotcom/java-sdk/blob/master/doc/quick-start.md). Here I have to use username and password

 

b) Using OAuth (username/password is entered by per user and then make REST calls passing the token)

 

I am trying to figure out solution which has both i.e. JPA and OAuth to authenticate. So basically JPA + rest calls. Token will be tied to logged in user for both JPA and OAuth.

 

Any help or guidance will be greately appriciated.

 

Thanks,

Kam