This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBCRealm  RSS feed

Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, does anyone can give me a primer of digesting password which is stored into database. I know how to retrieve info from database using Tomcat, I can on my own digest password by -, put the algorithm type in the constructor, call the update() method of MassageDigest instance supplied with byte array, and retrieve a digested byte array calling digest() method, and store it to the database. But HOW to do this digestion using JDBCRealm, so I could retrieve the credentials from DB with Tomcat, what are the steps need to be performed,? I would really appreciate for sample of doing this steps. I didn't find any clear primer, so I would really appreciate... Thanks...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!