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

@@ -30,7 +30,7 @@ type SQLiteProvider struct {
func initializeSQLiteProvider(basePath string) error {
var err error
var connectionString string
logSender = SQLiteDataProviderName
logSender = fmt.Sprintf("dataprovider_%v", SQLiteDataProviderName)
if len(config.ConnectionString) == 0 {
dbPath := config.Name
if !utils.IsFileInputValid(dbPath) {