add HTTP hooks

external auth, pre-login user modification and keyboard interactive
authentication is now supported via HTTP requests too
This commit is contained in:
Nicola Murino
2020-04-01 23:25:23 +02:00
parent 075bbe2aef
commit 9046acbe68
16 changed files with 534 additions and 160 deletions

View File

@@ -29,7 +29,7 @@ type MySQLProvider struct {
func initializeMySQLProvider() error {
var err error
logSender = MySQLDataProviderName
logSender = fmt.Sprintf("dataprovider_%v", MySQLDataProviderName)
dbHandle, err := sql.Open("mysql", getMySQLConnectionString(false))
if err == nil {
providerLog(logger.LevelDebug, "mysql database handle created, connection string: %#v, pool size: %v",