JAAS authentication module using RDBMS as a backend