Merge pull request #608 from dmcgowan/http-basic-auth

Implementation of a basic authentication scheme using standard .htpasswd
This commit is contained in:
Olivier Gambier 2015-06-15 17:40:58 -07:00
commit fa67bab1c7
5 changed files with 389 additions and 0 deletions

View file

@ -148,6 +148,7 @@ func NewApp(ctx context.Context, configuration configuration.Configuration) *App
panic(fmt.Sprintf("unable to configure authorization (%s): %v", authType, err))
}
app.accessController = accessController
ctxu.GetLogger(app).Debugf("configured %q access controller", authType)
}
return app