[rules-users] Encrypt password in repository.xml

David Faulkner david.faulkner at amentra.com
Wed Apr 20 03:47:02 EDT 2011


Boban,

Instead of using an explicit JDBC connection string, you can instead find
your MySQL connection via a JNDI lookup, externalizing your database
connection information to your application server. You'll have to Google
the exact details, but I believe you set the driver class to
"javax.naming.InitialContext" and then the driver url to the JNDI name of
your datasource. 

Kind regards,

David

On 4/20/11 6:39 AM, "Boban Abraham" <boban_abraham at mindtree.com> wrote:

>We use mysql to store the data, hence mysql db credentials are mentioned
>in
>repository.xml
>
>The DB user password in repository.xml is not encrypted currently.
>
>What are the options available to place encrypted password in
>repository.xml?
>
>--
>View this message in context:
>http://drools.46999.n3.nabble.com/Encrypt-password-in-repository-xml-tp284
>1654p2841654.html
>Sent from the Drools: User forum mailing list archive at Nabble.com.
>_______________________________________________
>rules-users mailing list
>rules-users at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/rules-users





More information about the rules-users mailing list