Re: Support for encrypted db passwords

From: Mike Kienenberger (mkienen..laska.net)
Date: Mon Aug 16 2004 - 12:42:54 EDT

  • Next message: McDaniel, Joe: "Re: Subject: Issue with Reverse Engineering Sybase Database"

    Gowry Gabriev <gowry.gabrie..mail.com> wrote:
    > Hello,
    >
    > I was wondering if there was any support for encrypted
    > passwords in cayenne or a way to pass in the password
    > the first time a connection is needed?
    >
    > I can't store the password to disk in an un-encrypted form.
    >
    > Any help on how this could be done or if I could write a custom
    > class to help out would be appreciated.

    At least under the Oracle Application Server, you can use JNDI with
    encrypted passwords.

    Another option is to write your own subclass of DriverDataSourceFactory
    which knows how to decrypt (or otherwise retrieve) the password.

    -Mike



    This archive was generated by hypermail 2.0.0 : Mon Aug 16 2004 - 12:48:19 EDT