Which version of jrs-rest-java-client jar will work with JaperServer 7.1?

0

My existing Authenticate method which use to work with Jasperserver 6.4 is not working after updating Jasperserver to 7.1.0.

 

Please anyone let me know what changes required in my code.

dhananjaykuma's picture
Joined: Feb 15 2019 - 3:29am
Last seen: 4 months 3 weeks ago

what type of authentication is it?

Also is there any custom class used?

sthomas_3 - 4 months 3 weeks ago

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());

dhananjaykuma - 4 months 3 weeks ago

Use this link.

We had similar issue when upgraded to 7.1

https://github.com/sgwood63/jrs-rest-java-client/releases/tag/7.1.0

Using of 7.1.0 should resolve the problem.

devendra.sutar - 4 months 1 week ago

0 Answers:

No answers yet
Feedback
randomness