lib/mongo/auth/x509.rb in mongo-2.11.1 vs lib/mongo/auth/x509.rb in mongo-2.11.2
- old
+ new
@@ -18,10 +18,11 @@
module Auth
# Defines behavior for X.509 authentication.
#
# @since 2.0.0
+ # @api private
class X509
# The authentication mechinism string.
#
# @since 2.0.0
@@ -65,10 +66,10 @@
# @since 2.0.0
def login(connection)
conversation = Conversation.new(user)
reply = connection.dispatch([ conversation.start(connection) ])
connection.update_cluster_time(Operation::Result.new(reply))
- conversation.finalize(reply)
+ conversation.finalize(reply, connection)
end
end
end
end