mongo_kerberos 1.11.1-java → 1.12.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/VERSION +1 -1
- data/lib/mongo_kerberos/sasl_c.rb +2 -1
- data/lib/mongo_kerberos/sasl_java.rb +2 -1
- metadata +6 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba0b9077cb199ef547a00fb8ae5ad25aa0ddda53
|
4
|
+
data.tar.gz: 977756c14381c34b114a42fc48caf0dabf4f6497
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ec4461510afb6714937ddb3944f64d3d23c901c1591ca2784a606359342a1b77acbb72a5de7c037ffde73f418d152b9f5a5f6645245da2c293c876758009c9f
|
7
|
+
data.tar.gz: 7f523bd6881f419cfc5702b44e7b1a4244589f649d43e5997a13602b44a8eebbca13cda43c1c75e0c6f830390db500e22a62335a621712c4f707b4b0886c807f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.12.0
|
@@ -19,8 +19,9 @@ module Mongo
|
|
19
19
|
def self.authenticate(username, client, socket, opts={})
|
20
20
|
db = client.db('$external')
|
21
21
|
hostname = socket.pool.host
|
22
|
-
servicename = opts[:
|
22
|
+
servicename = opts[:service_name] || 'mongodb'
|
23
23
|
canonicalize = opts[:canonicalize_host_name] ? opts[:canonicalize_host_name] : false
|
24
|
+
username += "@#{opts[:service_realm]}" if opts[:service_realm]
|
24
25
|
authenticator = Mongo::Sasl::GSSAPIAuthenticator.new(username, hostname, servicename, canonicalize)
|
25
26
|
|
26
27
|
return { } unless authenticator.valid?
|
@@ -26,7 +26,8 @@ module Mongo
|
|
26
26
|
def self.authenticate(username, client, socket, opts={})
|
27
27
|
db = client.db('$external')
|
28
28
|
hostname = socket.pool.host
|
29
|
-
servicename = opts[:
|
29
|
+
servicename = opts[:service_name] || 'mongodb'
|
30
|
+
username += "@#{opts[:service_realm]}" if opts[:service_realm]
|
30
31
|
canonicalize = opts[:canonicalize_host_name] ? opts[:canonicalize_host_name] : false
|
31
32
|
|
32
33
|
begin
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_kerberos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Emily Stolfo
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
JrZM8w8wGbIOeLtoQqa7HB/jOYbTahH7KMNh2LHAbOR93hNIJxVRa4iwxiMQ75tN
|
32
32
|
9WUIAJ4AEtjwRg1Bz0OwDo3aucPCBpx77+/FWhv7JYY=
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2015-01-29 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: mongo
|
@@ -39,12 +39,12 @@ dependencies:
|
|
39
39
|
requirements:
|
40
40
|
- - '='
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 1.
|
42
|
+
version: 1.12.0
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.12.0
|
48
48
|
prerelease: false
|
49
49
|
type: :runtime
|
50
50
|
description: Adds kerberos authentication via libsasl to the MongoDB Ruby Driver on MRI and JRuby
|
@@ -80,8 +80,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
version: '0'
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project: mongo_kerberos
|
83
|
-
rubygems_version: 2.
|
83
|
+
rubygems_version: 2.4.1
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Kerberos authentication support for the MongoDB Ruby driver
|
87
87
|
test_files: []
|
88
|
+
has_rdoc: yard
|
metadata.gz.sig
CHANGED
Binary file
|