PDA

View Full Version : Get Pentaho Security's information



jblackcat
12-29-2008, 02:12 AM
Dear ALL,

If anyone can help me on this task:
1. In Pentaho 1.7, i configured to manage User Authentication against database.
2. My enterprise system have a database server which stores customer's data and i developed a customize JDBC-driver to query on the database server. This JDBC-driver authenticates to the db server based on username/password.
3. What i experienced is I want to uses username/password which user used to login into Pentaho system to authenticate to the database server for executing reports

Currently, personnally, i want to develop a component that implements AuthenticationManager and configure it in applicationContext-acegi-security.xml as provider of authenticationManager bean. The component will get User's information(user/pass) and put it into session.

So i need anyone can help me:

How to develop a class and where to put the class into Pentaho engine. The class could be read user's information uses SecurityUtils (or anything else) and put the information into Session.