Updating instructions

This commit is contained in:
stephb9959
2021-04-11 16:00:26 -07:00
parent 01508fb8f0
commit f92c15e3ef
15 changed files with 243 additions and 93 deletions

View File

@@ -65,6 +65,7 @@ namespace uCentral::Auth {
}
int Service::Start() {
Logger_.notice("Starting...");
Secure_ = uCentral::ServiceConfig::getBool(SubSystemConfigPrefix_+".enabled",true);
DefaultPassword_ = uCentral::ServiceConfig::getString(SubSystemConfigPrefix_+".default.password","");
DefaultUserName_ = uCentral::ServiceConfig::getString(SubSystemConfigPrefix_+".default.username","");
@@ -73,7 +74,7 @@ namespace uCentral::Auth {
}
void Service::Stop() {
Logger_.notice("Stopping...");
}
bool Service::IsAuthorized(Poco::Net::HTTPServerRequest & Request, std::string & SessionToken, std::string & UserName )