- async handlerGetStaticFile(req, res, ctx, file) {
- const _scope = _fileScope('handlerGetStaticFile');
- this.logger.debug(_scope, 'called', { req: common.requestLogData(req), ctx, file });
+ async handlerPostAdminProcess(req, res, ctx) {
+ const _scope = _fileScope('handlerPostAdminProcess');
+ this.logger.debug(_scope, 'called', { req, ctx });
+
+ this.setResponseType(this.responseTypes, req, res, ctx);
+
+ await this.authenticator.apiRequiredLocal(req, res, ctx);
+
+ await this.manager.processTasks(res, ctx);
+ }
+
+
+ /**
+ * Delegate login to authentication module.
+ * @param {http.ClientRequest} req
+ * @param {http.ServerResponse} res
+ * @param {Object} ctx
+ */
+ async handlerGetAdminLogin(req, res, ctx) {
+ const _scope = _fileScope('handlerGetAdminLogin');
+ this.logger.debug(_scope, 'called', { req, ctx });