powered by Jive Software

Authentication against two tables using MySQL

Hello there,

I’ve come to problem integrating OF to my Web app. I’ve managed to set up OF to auth against db and it works great whlie using any external client, however i need my app to be able to connect as user currently logged in.

Since i dont want to expose user passwords in plain text via web, i’ve chosen to use authentication via token. I figured out that I need to use HybridAuth but I’cant figure out if there is a way to setup second JDBCAuthProvider to be used in chain, eg.


  1. JDBCAuthP(sql1) + sha1

  2. JDBCAuthP(sql2) + plaintext

Is it posilble withou writing new class (basically copying JDBCAuthP with new name)? I ask because i have zero to none experience with java.