forked from shaba/openuds
Removed ov user/password sender
This commit is contained in:
parent
db2a43afc8
commit
f53fa4a304
@ -159,7 +159,7 @@ class HTTPServerHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
HTTPServerHandler.service.ipc.sendScriptMessage(params['script'])
|
||||
else:
|
||||
# Execute script at server space, that is, here
|
||||
# as a secondary thread
|
||||
# as a parallel thread
|
||||
th = ScriptExecutorThread(params['script'])
|
||||
th.start()
|
||||
return 'ok'
|
||||
@ -170,12 +170,6 @@ class HTTPServerHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
||||
raise Exception('Invalid preConnect parameters')
|
||||
return HTTPServerHandler.service.preConnect(params.get('user'), params.get('protocol'))
|
||||
|
||||
def post_ovLogon(self, params):
|
||||
logger.debug('Received ov logon')
|
||||
if 'username' not in params or 'pasword' not in params:
|
||||
raise Exception('Invalid ovLogon parameters')
|
||||
return HTTPServerHandler.service.ovLogon(params.get('username'), params.get('pasword'))
|
||||
|
||||
def get_information(self, params):
|
||||
# TODO: Return something useful? :)
|
||||
return 'Up and running'
|
||||
|
@ -121,10 +121,6 @@ class UDSActorSvc(Daemon, CommonService):
|
||||
|
||||
return 'ok'
|
||||
|
||||
def ovLogon(self, username, password):
|
||||
# Ignored right now on Linux
|
||||
logger.info('ovLogon ignored right now on Linux')
|
||||
|
||||
def run(self):
|
||||
cfg = initCfg() # Gets a local copy of config to get "reboot"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user