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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10eebd806d0ef296de80f6c85761a72997c9968b
4
- data.tar.gz: d8c01889808b0ea5a780aa2a744883917ccfc448
3
+ metadata.gz: ca15cafdd82a83b0327ac058edee2d2bd8ae2c83
4
+ data.tar.gz: 0fd4c3c9049d03fc5bdd4861911827d19c8a5c48
5
5
  SHA512:
6
- metadata.gz: 66421bf62af62c9c2cf09e5a3c1fb31ae5067251af44dfa9dbc0cd07cdd4ff4d83f1de61e1f6015c33ee846c31f30b8ebd966f2546bde02e03f492ec17e8fe26
7
- data.tar.gz: a54e585a408e5bf1032db290882c3a5ee96eb1ada9a0c97241b6eaaa73b90c20d5467fa3109daf98507140e886cca6e9d8ccd0ca476e5854cbcecaca8fcbb6b4
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
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = '2.22.0'
2
+ VERSION = '2.22.1'
3
3
  end
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.0
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-10 00:00:00.000000000 Z
11
+ date: 2016-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport