• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

MD5.crypt() problem

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to integrate my app with JForum.
I use Jforum class MD5.crypt in my application, but when I use this class in my app and add users in jforum_users, passwords added by my app is not identical with passwords added by jforum. What I do wrong?
How to solve this problem?
Thanks.
[originally posted on jforum.net by CharOday]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem already solved!!! :-)
Dont know why, but when I use this class inside JBuilder2006 IDE (may bee because of embedded Tomcat5.5.9) it generates wrong md5 hash,
bat when I deploy my app in real Tomcat 5.5.17 all problems gone. Have anyone ideas about this?
[originally posted on jforum.net by CharOday]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For testing, make a debug. Use Log4j or System.out.println for checking what's the difference. Please note that there is already a log4j in jforum.

Cheers.
[originally posted on jforum.net by bobylus]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!