rkm258 Posted March 25, 2009 Share Posted March 25, 2009 Hi, Just wondering what is the next release of Professional version capable of in regard to "domains". 1. Will there be a support to add Custom Report Data Source Service. So that i provide the database connection to use, rather than choose one from JDBC/JNDI data sources. I had been able to do so with using Topics not using Domains, because the 'Data sources selection in Domains pulls only JDBC and JNDI datasources'. 2. Can security filters add dynamic values for filtering. The examples i have seen so far adds only static values. Since it is based on groovy language, i'am assuming this might be possible. 3. What additional capabilities will it have for domains. ThanksRam Link to comment Share on other sites More sharing options...
mdjj Posted March 26, 2009 Share Posted March 26, 2009 On point 2 this is sort of discussed in a seperate thread see http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=49545 We did manage to implement this doing something like :<filterExpression>customer.name == groovy('an expression that returns a String')</filterExpression>The easiest way we found to implement the dynamic expression that returns a string is a call to a static method on our own class that's in the JasperServer classpath. Then you can make your class do whatever it likes or go and callwhatever it likes to return the value.Alternatively you can build it up as a groovy expression. So for example if you want to get an attribute from the security principal(which is effectively what our static method does) then you can do something like :groovy('authentication.getPrincipal().getAttributes().find{ it.getAttrName() == "Name of attibute on security principal"}.getAttrValue()') Hope this helps. Link to comment Share on other sites More sharing options...
rkm258 Posted March 26, 2009 Author Share Posted March 26, 2009 Hi, Thank you, for reply. I have a question regarding Topics saved from Domains. If the domains have a security filter with resourceAccessGrant and other access grants. Will the saved Topic from the Domains obey these security filters. Ram Link to comment Share on other sites More sharing options...
ramnik Posted March 26, 2009 Share Posted March 26, 2009 Yes , the saved topic obeys the security grants applied on domain Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now