Actions
Feature #1046
closedCzechIdM can use an external data source
Start date:
03/28/2018
Due date:
% Done:
100%
Estimated time:
Owner:
Description
Currently, CzechIdM uses only it's own internal configuration of a data source. More enterprise way to provide a database connection to a Java application is a usage of an external data source configuration. You just configure the DS in a certain application server/container and tell CzechIdM to use it e.g. by adding something like this to web.xml:
<resource-ref>
<res-ref-name>jdbc/czechidmDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<lookup-name>java:/jdbc/czechidmDS</lookup-name>
</resource-ref>
and in spring configuration something like this:
<jee:jndi-lookup id="rawDataSource" jndi-name="jdbc/czechidmDS"/>
I expect the internal DS configuration options to be retained. However, it is open for discussion.
Actions