From e0451ef59a69eda29efa6bc22294b2bcf8b8b600 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 29 May 2020 11:31:40 +0200 Subject: Authentication infrastructure --- plugins/cgi/cgi.cpp | 4 ++++ plugins/cgi/cgi.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/cgi') diff --git a/plugins/cgi/cgi.cpp b/plugins/cgi/cgi.cpp index 480ae9e..131855e 100644 --- a/plugins/cgi/cgi.cpp +++ b/plugins/cgi/cgi.cpp @@ -290,3 +290,7 @@ std::string cgi_plugin::generate_page( } } +bool cgi_plugin::has_own_authentication() +{ + return false; +} diff --git a/plugins/cgi/cgi.h b/plugins/cgi/cgi.h index 467a6c4..5093901 100644 --- a/plugins/cgi/cgi.h +++ b/plugins/cgi/cgi.h @@ -8,12 +8,14 @@ public: cgi_plugin(); ~cgi_plugin(); - std::string name(); + std::string name() override; std::string generate_page( std::function& GetServerParam, std::function& GetRequestParam, // request including body (POST...) std::function& SetResponseHeader // to be added to result string - ); + ) override; + + bool has_own_authentication() override; }; -- cgit v1.2.3