Writing Custom Authentication Filter Jasperserver 4.7 - jasperserver

I am looking into jasperserver security. Our scenario is, our reports are hosted
in jasper server. We have our web application developed in JSF. Now from our jsf
application we want to invoke reports residing in jasper server.
Issue is our set of users are different from jasperserver. I was looking into jasper
server security and came to conclusion that it's using ACEGI security and we can also
write our custom authentication filters. Anybody has idea what would be the exact
process to write it? Any pointers will be helpful.
Best Regards,
Ben

I'm working on a similar problem, and I found this:
http://community.jaspersoft.com/wiki/adding-authentication-filters-and-using-profile-attributes

Related

Is SAPJCo specific to a SAP installation or can be reused between different SAP Boxes?

I'm trying to connect to a SAP system using SAP JCo. Our client is taking long time to download and give the SAP JCo. Is SAP JCo dll and Jar specific to a SAP Box or can be used across different boxes? Can I use a SAP JCo downloaded using SAP ID registered in our SAP Box and use it?
Note that the redistribution of the connector is not allowed by SAP.
-> if you develop an application for a customer, this customer has to download and provide you the JCO lib for his SAP installation.
See : https://support.sap.com/en/product/connectors.html
SAP JCo is library which can be used to communicate with any SAP on-premise system that supports SAP's RFC protocol. This is comparable to a database vendor specific JDBC driver.
Just provide the logon credentials and connect to any available system of this type.
You can find further general information about the SAP Java Connector here:
https://support.sap.com/jco
(Much appreciate trixx's suggestion in the comments; I am editing this reply to directly answer op's question instead of giving general statement)
SAPJco is not specific to an SAP installation. Assume you have a valid S-ID to access SAP software download page ("Connector" section) to download the JCO file. Once you download it, you can start with some simple examples. Here is one blog for reference.
(original reply was:
Your best bet would be to search in Google through keywords like "SAP JCO sample" to read some very basic examples, and try to practice from them. Once you start to get used to the design pattern, you can blend your requirement in and become productive. It is not difficult to get started. Keep learning and practicing. )

Reporting in .net core with PostgreSQL

Is is possible to do reporting (using crystal report or any third party tool) in .Net core with Postgres as a database?
I searched quite a lot but I couldn't find any solution to this. Need guidance in the right direction for this.
I would recommend choosing a reporting technology, which doesn't depend on your "technology stack" or vice versa.
I'm using SQL Server Reporting Services (which support many different database engines):
generate Reports via HTTP url access
embed Reports within Websites too
"manage" Reports via SOAP
In fact, everything happens using ordinary HTTP requests. I could be using any technology, which speaks HTTP...
I've no idea what you're trying to achieve ("do reporting" isn't that specific, you know ;)), but maybe it helps.

How to submit Hive Jobs programmatically from JSP

We are trying to build a wrapper system for business users and we want to explore option of building a capability to submit the HIVE query from a JSP page. I could not find a best example or suggested mechanism for this. Anyone tried this before? If so can someone share their best ideas? We are looking for the REST API mechanism. If that wont work, then we can use java from JSP servlets.
Appreciate your support.
Kiran
You can use JDBC. I dont think there is a REST API for Hive.
But since most developers & application typically use JDBC this should be the preferred mode.
More details can be found here (Assuming you are using latest Hive versions) : Hive 2 Clients
Sample code sample code

Good ways to use Crystal Reports with Salesforce?

Does anyone know good ways/tools/approaches for using Crystal Reports with Salesforce.com?
I know that Crystal Reports for Salesforce exists but I'm wondering what other possibilities there are...
It looks like your data is tied up with salesforce.com if you can export data you could use crystal reports independent of salesforce.com.
Other links on exporting data:
http://sfdc.arrowpointe.com/2008/04/28/do-you-backup-your-salesforce-data/
http://ideas.salesforce.com/article/show/97976/Export_All_via_Data_Loader
http://ideas.salesforce.com/article/show/23579/Scheduled_Data_Export_to_backup_database
Our solution may not work for you, but we've decided to host our reports on an external reportserver which is written in c# and exposes a SOAP based web service because the Crystal Reports for Salesforce solution you mentioned didn't offer us the flexibility we needed.
The process is essentially:
Salesforce makes a soap based call to the report server
Report server collates data from Salesforce via the Salesforce Soap API
Report server renders the report and returns it to salesforce
To answer my own question, we eventually decided to set up a local read-only copy of the Salesforce database in MS Sql Server, and develop reports based on that. This allowed the report-writing people to use all the familiar SQL tools they know, without the restrictions on what-can-be-joined-to-what that the native Salesforce database has.
We're using a piece of software called DBAmp to do this - It makes Salesforce appear in SQL Server as a 'linked server', and provides stored procedures you can use to download entire Salesforce tables, or just download changes to a Salesforce table since the last time. This makes it very easy to set up a local copy of the data that gets updated every night.

Publish crystal reports with htm-based parameter page to the intranet

Is there a way to publish my crystal reports and call them throuh html-based parameter page (preferably jsp) to our intranet?
We have developed reports using Crystal Reports, and we want users to be able to call these reports through an HTML-based page through our itnranet.
Any advice?
Well, I see you used the "Crystal Reports Server" tag -- that answers your question right there. :-) It provides web viewing, report scheduling, and all sorts of nifty backend features.
You may also want to consider a solution like rePORTAL at http://www.reportalsoftware.com. It allows you to securely publish reports for web access via your intranet or extranet. No need for coding.