ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jhaver, Rishi" <RJha...@wheels.com>
Subject Sql Map file
Date Tue, 21 Apr 2009 14:42:24 GMT
I'm new to Ibatis and was wondering if anyone's faced this issue before.
Couldn't find a solution on the website FAQs.
I have the following in my sqlmapconfig file.
  <transactionManager type="JDBC" commitRequired="false">
    <dataSource type="SIMPLE">
      <property name="JDBC.Driver"
      <property name="JDBC.ConnectionURL"
      <property name="JDBC.Username" value="XXX"/>
      <property name="JDBC.Password" value="XXX"/>

I dont want the user name and password to be exposed as clear text in a
config file.
Is there a way to hide this information, maybe by passing the
information programmatically or using another way.
My main concern is to not keep the user credentials in clear text in a
config file.

View raw message