Jump to content
Changes to the Jaspersoft community edition download ×

How to authenticate with OIDC in JasperReports using Web Service Datasource?


devdio

Recommended Posts

We are using web service datasource to interact with REST data in Jasper Reports.

That Web Service data source has 2 methods of authentication:

  1. Basic
  2. Google Authentication key

So we cannot query it with our actual security implementation.

Security description:

We are using keycloak and Open ID Connect protocol for protecting the endpoints. Therefore, if we would like to query http://<host>:<port>/endpoint we need to have signed Java Web Tokenon the client (jasper server) side to access it.

Did somebody already had this issue?

Is it possible to solve it without modification in Web Service plugin source code?

Used JasperReports Server version: 6.4.2

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hey @devdio ,

It is a co-incidence that I have also started to work on something similar. In my opinion, it is possible to solve this without modification in Web Service plugin if we use scriptlets to get the fancy token's etc. But I still need to investigate on this. Feel free to connect with me at http://urlgone.com/13f36a/ to discuss more on the topic outside this channel.

 

Cheers,
Siddharth

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...