Added integration of DBAuthenticator & integration test with H2 DB

This commit is contained in:
mackristof
2016-05-13 16:43:08 +02:00
committed by Christophe Mourette
parent cad1165071
commit 4bcecd5aa3
6 changed files with 192 additions and 13 deletions
@@ -61,6 +61,15 @@ allow_anonymous true
password_file config/password_file.conf
#*********************************************************************
# Optional Database Authentication
#*********************************************************************
# authenticator_class io.moquette.spi.impl.security.DBAuthenticator
# authenticator.db.driver org.postgresql.Driver
# authenticator.db.url jdbc:postgresql://localhost/test?user=dbuser&password=dbpassword
# authenticator.db.query SELECT PASSWORD FROM ACCOUNT WHERE LOGIN=?
# authenticator.db.digest SHA-256
#*********************************************************************
# Optional
# authorizator_class: