Quantcast
Channel: Ignite Realtime : All Content - Openfire Support
Viewing all articles
Browse latest Browse all 4778

MD5 Hashing / Plain Text

$
0
0

 

Hi,

 

 

What is the default encryption for openfire because from what ive seen its not MD5.

 

 

For example is i use the password: 123456 this is hashed as:  2cff25abd653e05b0075ef57d8437fb14810492bd4f656e8  and then i convert 123456 using a php md5 hasing program and it returns: e10adc3949ba59abbe56e057f20f883e

 

 

Is there anyway i can switch the system to use MD5 as all my efforts have failed. I tried:

 

 

<provider>

    <auth>

      <className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className& gt;

    </auth>

  </provider>

  <jdbcAuthProvider>

     <passwordSQL>SELECT password FROM user_account WHERE username=?</passwordSQL>

     <passwordType>md5</passwordType>

   </jdbcAuthProvider>

 

 

I also tried:

 

 

<provider>

    <auth>

      <className>org.jivesoftware.openfire.auth.JDBCAuthProvider</className& gt;

    </auth>

  </provider>

  <jdbcAuthProvider>

     <passwordSQL>SELECT encryptedPassword FROM jiveUser WHERE username=?</passwordSQL>

     <passwordType>md5</passwordType>

   </jdbcAuthProvider>

 

 

But none of them seem to work, whenever i try to login with SPARK i just keep getting invalid username/password.

 

 

Does anyone have any ideas on this one?

 

 

Thanks

 

 


Viewing all articles
Browse latest Browse all 4778

Trending Articles