dhananjaykuma Posted February 17, 2019 Posted February 17, 2019 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.
sthomas_3 Posted February 19, 2019 Posted February 19, 2019 what type of authentication is it?Also is there any custom class used?
dhananjaykuma Posted February 19, 2019 Author Posted February 19, 2019 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());
devendra.sutar Posted March 7, 2019 Posted March 7, 2019 Use this link.We had similar issue when upgraded to 7.1https://github.com/sgwood63/jrs-rest-java-client/releases/tag/7.1.0 Using of 7.1.0 should resolve the problem.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now