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.
0 Answers:
No answers yet
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.
what type of authentication is it?
Also is there any custom class used?
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());
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.