• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

MD5 and Jetty webserver security?

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have finally figured out how to get JDBC Realm working
But I want my DataBase to store the passwords encrypted.
(perferable in MD5 hash)

My Web.xml is



In the Jetty.xml I have


As you can see the second <item> is for my JDBC Realm.
The <Set name = config> points to etc/jdbcRealm.properties.
However I don't know how to store the passwords encryptedly.

Their is a realm.properties file that has

But this file is for the first <item> and it applies to HashUserRealms.

What I want to know is how my database can store MD5 hashed password's and then when j_security verifies the login Form have it correctly verify the MD5 has in the database to the j_username , and j_password in the database.
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry , mispelled

What I want to know is how my database can store MD5 hashed password's and then when j_security verifies the login Form have it correctly verify the MD5 has in the database with the j_username , and j_password entered by the user?
 
Make yourself as serene as a flower, as a tree. And on wednesdays, as serene as this tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!