libsaml 2.22.0 → 2.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/config.rb +3 -0
- data/lib/saml/util.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: ca15cafdd82a83b0327ac058edee2d2bd8ae2c83
|
4
|
+
data.tar.gz: 0fd4c3c9049d03fc5bdd4861911827d19c8a5c48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fcec82565301b2302a4798a61a2a589e53416af97296329bb98554efacb5987bcdda1b0bae6c031bd08d9ceced8cc90eaf339eff23bb5bcb666ddfc67413b9f
|
7
|
+
data.tar.gz: 2ea59123ee9c5706d33c9b4c72c3edebf2ef2f825ebf0611f7954ff0bfa09630e06df3320184f6a4a4ec91b6ed602720167dfa4748d277da99516e44d6a9b22d
|
data/lib/saml/config.rb
CHANGED
@@ -26,6 +26,9 @@ module Saml
|
|
26
26
|
mattr_accessor :inclusive_namespaces_prefix_list
|
27
27
|
@@inclusive_namespaces_prefix_list = "ds saml samlp xs"
|
28
28
|
|
29
|
+
mattr_accessor :include_nested_prefixlist
|
30
|
+
@@include_nested_prefixlist = false
|
31
|
+
|
29
32
|
def register_store(name, store, options = {})
|
30
33
|
registered_stores[name] = store
|
31
34
|
self.default_store = name if options[:default]
|
data/lib/saml/util.rb
CHANGED
@@ -37,7 +37,7 @@ module Saml
|
|
37
37
|
|
38
38
|
document = Xmldsig::SignedDocument.new(message.send("to_#{format}"))
|
39
39
|
|
40
|
-
if include_nested_prefixlist
|
40
|
+
if Saml::Config.include_nested_prefixlist || include_nested_prefixlist
|
41
41
|
document.signatures.reverse.each_with_object([]) do |signature, nested_prefixlist|
|
42
42
|
inclusive_namespaces = signature.signature.at_xpath('descendant::ec:InclusiveNamespaces', Xmldsig::NAMESPACES)
|
43
43
|
|
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.22.
|
4
|
+
version: 2.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoist Claassen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|