Does auth.JDBCAuthProvider support Linux/BSD MD5Crypt?

Hi All,

I find below document.

I have a question, does auth.JDBCAuthProvider. support Linux/BSD MD5Crypt?

How to support MD5Crypt?

I found a impletation here, how to integrate this algorithm?

http://read.pudn.com/downloads50/sourcecode/windows/170787/MD5Crypt.java__.htm

Thanks!

  • provider.auth.className – set the value to org.jivesoftware.openfire.auth.JDBCAuthProvider.
  • jdbcAuthProvider.passwordSQL – the SQL String to select a user’s password. The SQL statement should contain a single “?” character, which will be dynamically replaced with a username when being executed.
  • jdbcAuthProvider.passwordType – the type of the password. Valid values are
    • “plain” (the password is stored as plain text)
    • “md5” (the password is stored as a hex-encoded MD5 hash)
    • “sha1” (the password is stored as a hex-encoded SHA-1 hash)
    • “sha256” (the password is stored as a hex-encoded SHA-256 hash)
    • “sha512” (the password is stored as a hex-encoded SHA-512 hash)