Skip to content
Snippets Groups Projects
Commit 2f8f73dc authored by Michael Davis's avatar Michael Davis
Browse files

[cta_frontend] Validates Admin cmd protobuf on server side

parent ec0585e3
Branches
Tags
No related merge requests found
......@@ -16,9 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "XrdSsiPbException.hpp"
#include <XrdSsiPbException.hpp>
using XrdSsiPb::PbException;
#include <cmdline/CtaAdminCmdParse.hpp>
#include "XrdSsiCtaRequestMessage.hpp"
......@@ -45,6 +46,8 @@ void RequestMessage::process(const cta::xrd::Request &request, cta::xrd::Respons
void RequestMessage::processAdminCmd(const cta::admin::AdminCmd &admin_cmd, cta::xrd::Response &response)
{
// Validate the Protocol Buffer
validateCmd(admin_cmd);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment