File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: CMP Entity Bean -> Encrypted Column Type ?
 
Similar Threads
how to encrypt the text
ejbCreate, primary keys and deployment descriptors question
Deploying on JBoss a CMP bean that uses a composite PK in EJB2.1
jaws.xml configuration not loading for cmp entity beans
won't create tables with jaws.xml