Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

Apache OpenEJB 3.1.2 or later required

Ciphering passwords

Apache OpenEJB now provides an easy and extensible way to cipher databases passwords. Not that by default, this feature is not activated so plain passwords are used.

...

Usage

  • Default Plain text password example:
    Code Block
    xml
    xml
    <Resource id="MySQL Database" type="DataSource">
        #  MySQL example
        #
        #  This connector will not work until you download the driver at:
        #  http://www.mysql.com/downloads/api-jdbc-stable.html
    
        JdbcDriver  com.mysql.jdbc.Driver
        JdbcUrl     jdbc:mysql://localhost/test
        UserName    test
        Password    Passw0rd
    </Resource>
    

...