"Embedding" JasperServer into external web app?

Less picture Less · Nov 18, 2011 · Viewed 7k times · Source

is there any way to integrate/embed JasperServer into another web app? The thing is that the login page of JasperServer should be somehow bypassed. Is it maybe possible to do authentication through web service / REST, skip login page, and then show the main server page in an iframe, or something to that effect?

Thanks.

Answer

Husain Basrawala picture Husain Basrawala · Feb 19, 2012

You can use Http protocol and pull the reports in an iframe. The authentication information needs to go in URL as j_username and j_password.

To use Rest service, you need to write a REST client (I did it using Jersey with Http authentication) where authentication info goes in the Header.

It also provides SOAP services for integration which I haven't tried yet.