Trial account testing the API oauth

Hi all,

I've registered for a trial version and now I'm trying to pass the oath from a simple Java application.

I've found a java wrapper here: https://github.com/amusarra/sugarcrm-rest-v10-client

... but the problem is that I don't know which should be the params in my case.

oauth.hostname=bznxin6376.trial.sugarcrm.eu 

oauth.port=443

 

oauth.method=https

 

oauth.apiurl=/rest/v10

 

oauth.platform=sugar


final String API_KEY = "xxx";

 

  final String API_SECRET = "xxx";

 

  final String API_USERNAME = "xxx";

 

  final String API_PASSWORD = "xxx";


Can anyone help me?

Best regards,

Dorin