Search code examples
javaweb-applicationsjasper-reportsjasperserver

"Embedding" JasperServer into external web app?


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.


Solution

  • 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.