summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fcgi')
-rw-r--r--plugins/fcgi/fcgi.cpp5
-rw-r--r--plugins/fcgi/fcgi.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/plugins/fcgi/fcgi.cpp b/plugins/fcgi/fcgi.cpp
index 6f4ad1f..22a4d40 100644
--- a/plugins/fcgi/fcgi.cpp
+++ b/plugins/fcgi/fcgi.cpp
@@ -538,3 +538,8 @@ std::string fcgi_plugin::generate_page(
}
}
+bool fcgi_plugin::has_own_authentication()
+{
+ return false;
+}
+
diff --git a/plugins/fcgi/fcgi.h b/plugins/fcgi/fcgi.h
index 289c4d6..167a356 100644
--- a/plugins/fcgi/fcgi.h
+++ b/plugins/fcgi/fcgi.h
@@ -41,12 +41,14 @@ public:
fcgi_plugin();
~fcgi_plugin();
- std::string name();
+ std::string name() override;
std::string generate_page(
std::function<std::string(const std::string& key)>& GetServerParam,
std::function<std::string(const std::string& key)>& GetRequestParam, // request including body (POST...)
std::function<void(const std::string& key, const std::string& value)>& SetResponseHeader // to be added to result string
- );
+ ) override;
+
+ bool has_own_authentication() override;
std::string fcgiQuery(FCGIContext& context);
};