Commit 57990b2e authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[OPENBUS-2657] (Lua) Evitar a necessidade que o servidor chamado tenha um login válido

- Ajustando testes do protocolo.

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/sdk/lua/trunk@158277 ae0415b3-e90b-0410-900d-d0be9363c56b
parent e9e3e156
......@@ -306,7 +306,7 @@ function testBusCall(bus, login, otherkey, assertresults, proxy, opname, ...)
else
assert(reset.target ~= BusLogin)
login.busSession:newCred("signChainFor")
chain = bus.AccessControl:signChainFor(reset.target)
chain = bus.AccessControl:signChainFor(reset.entity)
end
end
......@@ -416,7 +416,7 @@ function testBusCall(bus, login, otherkey, assertresults, proxy, opname, ...)
local newchain = NullChain
if not bus.objects[proxy] then
newlogin.busSession:newCred("signChainFor")
newchain = bus.AccessControl:signChainFor(reset.target)
newchain = bus.AccessControl:signChainFor(reset.entity)
end
local credential = {
......
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