libsaml 2.13.1 → 2.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml.rb +2 -0
- data/lib/saml/bindings/http_redirect.rb +5 -1
- data/lib/saml/provider.rb +1 -1
- data/lib/saml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68cc374f731a02daa6a0f13462a40dc0fb5187f5
|
4
|
+
data.tar.gz: ad65e6af3a361ae5266dfcbf26625433b134f8ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2768e1991f8909d74c673c2819b71194a617a171952c4fbc65ca261e259fe99f4c5bf7832b8f46fe3916fa627b5adbf44904493851bbccaf73c02a34a72dd72
|
7
|
+
data.tar.gz: 6af57acd2b87f93cb6621d55a65498585056c890abc5cb1b1a286c267b417d8238a1c0e0e0fa8914be633383509568a5ad549ac5c5ac33c9591f21b028a25424
|
data/lib/saml.rb
CHANGED
@@ -19,7 +19,11 @@ module Saml
|
|
19
19
|
redirect_binding = new(request_or_response, options)
|
20
20
|
query_string = URI.parse(http_request.url).query
|
21
21
|
|
22
|
-
|
22
|
+
if http_request.params["Signature"].present?
|
23
|
+
redirect_binding.verify_signature(query_string)
|
24
|
+
else
|
25
|
+
raise Saml::Errors::SignatureMissing.new('Signature missing, but provider requires a signature') if request_or_response.provider.authn_requests_signed?
|
26
|
+
end
|
23
27
|
|
24
28
|
request_or_response.actual_destination = http_request.url
|
25
29
|
request_or_response
|
data/lib/saml/provider.rb
CHANGED
data/lib/saml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libsaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoist Claassen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|