Sha256: 834697b3b06d811a72fdca1659540417b24705f2467d797dd0a025124879bab0

Contents?: true

Size: 835 Bytes

Versions: 9

Compression:

Stored size: 835 Bytes

Contents

# Copyright (C) 2014 MongoDB, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

require 'forwardable'
require 'mongo'
require 'mongo/auth/kerberos'

# Add the Kerberos authentication mechanism.
#
# @since 2.0.0
Mongo::Auth::SOURCES[:gssapi] = Mongo::Auth::Kerberos

# @note Prevent any further modifications.
Mongo::Auth::SOURCES.freeze

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mongo_kerberos-2.1.2 lib/mongo_kerberos.rb
mongo_kerberos-2.1.2-java lib/mongo_kerberos.rb
mongo_kerberos-2.1.1 lib/mongo_kerberos.rb
mongo_kerberos-2.1.0-java lib/mongo_kerberos.rb
mongo_kerberos-2.1.0 lib/mongo_kerberos.rb
mongo_kerberos-2.0.0-java lib/mongo_kerberos.rb
mongo_kerberos-2.0.0 lib/mongo_kerberos.rb
mongo_kerberos-2.0.0.beta-java lib/mongo_kerberos.rb
mongo_kerberos-2.0.0.beta lib/mongo_kerberos.rb