aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes CMP Entity Bean -> Encrypted Column Type ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "CMP Entity Bean -> Encrypted Column Type ?" Watch "CMP Entity Bean -> Encrypted Column Type ?" New topic
Author

CMP Entity Bean -> Encrypted Column Type ?

Kris Read
Greenhorn

Joined: May 28, 2002
Posts: 6
Hi,
I recently realized that our password strings are being stored in our mySQL database in unencrypted form. I know that mySQL provides the ability to encode passwords. Does anyone know how to convert a CMP bean so that our String field maps to an encrypted column type instead of the default String type (VARCHAR)?
Note: I would like to avoid writing JDBC code to directly access the column! Transparency == Good.
Any help or advice would be appreciated.
K. Read
Calgary, Canada
 
jQuery in Action, 2nd edition
 
subject: CMP Entity Bean -> Encrypted Column Type ?