views:

307

answers:

2

I'd like to be able to include the results of LDAP queries in Jasper reports. Is that feasible? From what I can gather it seems that the only way to go about this is to write my own custom datasource.

+2  A: 

I believe you can/could.

Basically you would have to write your own datasource to query LDAP based on the query provided by the report/sub-dataset.

Alternatively, though I've never used them, you could try a JDBC-LDAP bridge. If your query needs are fairly straightforward,this may be good enough.

Jamie Love
A: 

It should be possible.... We can connect to any datasource (DB or custom datasource) and we can execute any SQL query or even we can configure map to act as a datasource to execute report from java application....

Karthikeyan