Added integration of DBAuthenticator & integration test with H2 DB
This commit is contained in:
committed by
Christophe Mourette
parent
cad1165071
commit
4bcecd5aa3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user