Disable impersonation for the "repl" command

refs #7805
This commit is contained in:
Gunnar Beutner 2014-12-15 08:37:34 +01:00
parent 8c9fdb537f
commit c7d9c415eb
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,11 @@ bool ReplCommand::IsHidden(void) const
return true;
}
ImpersonationLevel ReplCommand::GetImpersonationLevel(void) const
{
return ImpersonateNone;
}
void ReplCommand::InitParameters(boost::program_options::options_description& visibleDesc,
boost::program_options::options_description& hiddenDesc) const
{

View File

@ -38,6 +38,7 @@ public:
virtual String GetDescription(void) const;
virtual String GetShortDescription(void) const;
virtual bool IsHidden(void) const;
virtual ImpersonationLevel GetImpersonationLevel(void) const;
virtual void InitParameters(boost::program_options::options_description& visibleDesc,
boost::program_options::options_description& hiddenDesc) const;
virtual int Run(const boost::program_options::variables_map& vm, const std::vector<std::string>& ap) const;