Commit 07d7a80e authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[OPENBUS-2721] Chamadas legadas com credencial inválida devem resultar em NO_PERMISSION{minor=0}.

- Adição de upvalue faltando.

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/branches/02_00_00@159697 ae0415b3-e90b-0410-900d-d0be9363c56b
parent 721b5d51
......@@ -66,7 +66,7 @@ local InvalidRemoteCode = loginconst.InvalidRemoteCode
local InvalidTargetCode = loginconst.InvalidTargetCode
local NoLoginCode = loginconst.NoLoginCode
local UnavailableBusCode = loginconst.UnavailableBusCode
local UnavailableBusCode = loginconst.UnavailableBusCode
local UnknownBusCode = loginconst.UnknownBusCode
local oldidl = require "openbus.core.legacy.idl"
local loadoldidl = oldidl.loadto
......@@ -466,7 +466,7 @@ function Interceptor:receiverequest(request, credential)
entity = caller.entity,
delegate = credential.delegate,
})
setNoPermSysEx(request, InvalidCredentialCode)
setNoPermSysEx(request, 0)
else
-- invalid credential, try to reset credetial session
local sessions = self.incomingSessions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment