Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 240
Less Avatar asked Nov 18 '11 10:11

Less


2 Answers

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.

like image 155
Husain Basrawala Avatar answered Oct 10 '22 04:10

Husain Basrawala


JasperServer Authentication is implemented by Spring Security, so you can use a SSO mechanism supported by Spring Security easily. You can find XML configuration file (for the security) easily.

like image 20
Amir Pashazadeh Avatar answered Oct 10 '22 04:10

Amir Pashazadeh