Project

General

Profile

Actions

Feature #1046

closed

CzechIdM can use an external data source

Added by Vladimír Kotýnek over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Configuration
Target version:
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 #1

Updated by Radek Tomiška over 6 years ago

  • Status changed from New to Closed
  • Target version set to Jade (8.1.0)
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF