aspose file tools*
The moose likes JForum and the fly likes MD5.crypt() problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "MD5.crypt() problem" Watch "MD5.crypt() problem" New topic
Author

MD5.crypt() problem

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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

Joined: Apr 22, 2012
Posts: 17424
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]
 
Don't get me started about those stupid light bulbs.
 
subject: MD5.crypt() problem