Commit 23726eef authored by Renato Figueiro Maia's avatar Renato Figueiro Maia
Browse files

Merge from branches/02_00_00 (162741)

git-svn-id: https://subversion.tecgraf.puc-rio.br/engdist/openbus/core/trunk@162742 ae0415b3-e90b-0410-900d-d0be9363c56b
parents 67d6b28f 67b48ce6
......@@ -439,7 +439,7 @@ function AccessControl:startLoginByCertificate(entity)
entity = entity,
secret = secret,
}
self.pendingChallenges[logger] = time()+self.challengeTime
self.pendingChallenges[logger] = time()+self.challengeTime+self.expirationGap
log:request(msg.LoginByCertificateInitiated:tag{ entity = entity })
return logger, assert(publickey:encrypt(secret))
end
......@@ -454,7 +454,7 @@ function AccessControl:startLoginBySharedAuth()
entity = login.entity,
secret = secret,
}
self.pendingChallenges[logger] = time()+self.sharedAuthTime
self.pendingChallenges[logger] = time()+self.sharedAuthTime+self.expirationGap
log:request(msg.LoginBySharedAuthInitiated:tag{
login = login.id,
entity = login.entity,
......
Supports Markdown
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