Re: Support for encrypted db passwords

From: Gowry Gabriev (gowry.gabrie..mail.com)
Date: Mon Aug 16 2004 - 22:29:42 EDT

  • Next message: Andrus Adamchik: "Re: Subject: Issue with Reverse Engineering Sybase Database"

    Thanks, Mike

    This worked great for me!
    I just overloaded the load call and decrypted the password once
    DriverDataSourceFactory was done :)

    Gowry

    On Mon, 16 Aug 2004 12:42:54 -0400, Mike Kienenberger
    <mkienen..laska.net> wrote:
    >
    >
    > 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 - 22:29:54 EDT