0 Replies Latest reply on Sep 11, 2006 8:53 AM by sba

    system properties in datasources

    sba

      Hi there

      Can I use system properties in datasource configs? Example of DS:
      ...
      <xa-datasource-property name="Password">${datafeed.usr.pwd}</xa-datasource-property>
      ...

      db.properties:
      datafeed.usr.pwd=very_secret

      I don't seem to be able to. Would be a nice feature, though. Example:
      The system administrators can give the developer a login that has only permitions to read configs, except the properties file with the production db passwords that can't be read at all using this special login.

      Or another example would be having the same datasource config for a DEV, TEST and PROD environment under revision controll. Only the properties file containing the password would different.

      Cheers,
      Stephan