Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MD5.crypt() problem

 
Migrated From Jforum.net
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