Jump to content

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Posted

I am using jrs-rest-java-client-6.3.1.jar which provides method to do login Authentication.  This is the code which works when I use it against JasperServer 6.4 url, but when I use JasperServer 7.1 url, It is throwing exception.

RestClientConfiguration configuration = new RestClientConfiguration(info.serverURL);
        configuration.setConnectionTimeout(connectionTimeout);
        configuration.setReadTimeout(readTimeout);

httpRestClient = new JasperRestClient(configuration);

restClientSession = httpRestClient.authenticate(info.username.trim(), info.password.trim());

 

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...