JBoss Community

Storing the hashed password in database

created by harikris in Beginner's Corner - View the full discussion

Hi All,

 

I would like to know how to save store sensitive information such as passwords and credit card information in the database in the JBOSS AS server context.

 

For passwords, i read that the best thing to do is to hash the password and store the hash. But i have no clue on how to do this. Can you give me some pointers or a code example to realize this in the JBOSS context?

 

Will hashing and storing the hash technique be sufficient for storing credit card or payment method as well?

 

Thanks in advance.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community