Commit 1818d2ef authored by Renato Figueiro Maia's avatar Renato Figueiro Maia

[OPENBUS-1791] Serviços núcleo passam a usar como login um valor fixo ao invés do 'busid'

git-svn-id: ae0415b3-e90b-0410-900d-d0be9363c56b
parent 8ef7f74b
......@@ -49,6 +49,7 @@ local tickets = require ""
local msg = require "openbus.core.messages"
local idl = require "openbus.core.idl"
local loadidl = idl.loadto
local BusLogin = idl.const.BusLogin
local EncryptedBlockSize = idl.const.EncryptedBlockSize
local CredentialContextId = idl.const.credential.CredentialContextId
local loginconst =
......@@ -108,7 +109,7 @@ local function marshalCredential(self, request, credential, chain, remoteid)
if chain==nil or chain.signature~=nil then -- no legacy chain (OpenBus 1.5)
if remoteid then -- credential session is established
legacy = nil -- do not send legacy credential (OpenBus 1.5)
if remoteid ~= self.busid then
if remoteid ~= BusLogin then
if chain == nil then chain = self.emptyChain end
chain = self.signedChainOf[chain]:get(remoteid)
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