• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MD5 and Jetty webserver security?

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Doe, a deer, a female deer. Ray, a pockeful of sun. Me, a name, I call my tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic