huwtrimet.org Posted December 11, 2009 Share Posted December 11, 2009 I need to set up a JDBC datasource to connect to our secured PCI credit card database, people in the database group prefers me not saving the password in the JDBC datasource profile. What else could be the alternatives?Can I have the report prompt for password during runtime? Thanks in advance. Link to comment Share on other sites More sharing options...
huwtrimet.org Posted December 14, 2009 Author Share Posted December 14, 2009 Gurus, can you offer some insights on this? Link to comment Share on other sites More sharing options...
kitakura Posted December 15, 2009 Share Posted December 15, 2009 I could be wrong but I think you can. 1. Create a subreport2. Main report's subreport properties, use Connection/Data Source Expression like below:java.sql.DriverManager.getConnection("jdbc:oracle:thin:@//XXXXXX:1521/XXXX", "username", $P{param_password})3. Make a Parameter "param_password" and set to always prompt I have not tested it... Link to comment Share on other sites More sharing options...
swood Posted December 20, 2009 Share Posted December 20, 2009 Use a JNDI data source. The password will be on the server and not visible or editable on the screen. ShermanJaspersoft Link to comment Share on other sites More sharing options...
huwtrimet.org Posted December 31, 2009 Author Share Posted December 31, 2009 Hi Sherman, Happy New Year to you! I noticed the JDBC datasource password in the database table is encrypted, I want to know which filter is controlling the encryption, also can I choose SHA or MD5? Thanks in advance Link to comment Share on other sites More sharing options...
swood Posted January 7, 2010 Share Posted January 7, 2010 There is the PasswordEncoder bean in WEB-INF/applicationContext-security.xml. It extends the Spring org.springframework.security.providers.encoding.PasswordEncoder class. You can see the options in WEB-INF/applicationContext-security.xml and in the Spring Javadoc. ShermanJaspersoft 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