libsaml 3.0.6 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e73072466741589480fc5f90f964a5269daed6b
4
- data.tar.gz: 39711779f39cf35a9f7297f2086a8a3264e959dc
3
+ metadata.gz: 4befd4d149856fb5cbfb3772305ac31c70628511
4
+ data.tar.gz: d95d2939ae892143278dc3b7c46dfe67df19897e
5
5
  SHA512:
6
- metadata.gz: eeb4f71dd537afb00af8f944c149d8f9b0ecaa4957d5c91305622d82bf1d909ee91912e472e254073ebce1eaf11e581a309fdabf1b1c6e3cb91a90aa4cf002c5
7
- data.tar.gz: fcd455a37996355a939d9c57f938fbd3958110534b10d22d2a685aee939299d9a52e81d25ab0bae8eae4f9cd5525e5bbcff212410a95f946c303ffcd4aec7f29
6
+ metadata.gz: fff552e0436ba862a924a931a09d7340bf7fdc23a6513e6cfd64a2fd2933779e6802eb63f8eb65f43f06fac65a198648ded9a2350e8dc2758c3cd917e6e43cb4
7
+ data.tar.gz: 17d191d8da2162b783b73964794d73300983688bc35e12f57cc7ff92962b3e46f5bb9f330938379dbcedbb181196e17122c99d3674d8f9c0e54da9fd7e505b4b
@@ -9,6 +9,7 @@ module Saml
9
9
 
10
10
  attribute :binding, String, :tag => "Binding"
11
11
  attribute :location, String, :tag => "Location"
12
+ attribute :response_location, String, :tag => "ResponseLocation"
12
13
 
13
14
  validates :binding, :location, :presence => true
14
15
  end
@@ -21,6 +21,12 @@ module Saml
21
21
  mattr_accessor :generate_key_name
22
22
  @@generate_key_name = true
23
23
 
24
+ mattr_accessor :signature_algorithm
25
+ @@signature_algorithm = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
26
+
27
+ mattr_accessor :digest_algorithm
28
+ @@digest_algorithm = "http://www.w3.org/2001/04/xmlenc#sha256"
29
+
24
30
  mattr_accessor :default_store
25
31
 
26
32
  mattr_accessor :inclusive_namespaces_prefix_list
@@ -10,7 +10,7 @@ module Saml
10
10
  attribute :algorithm, String, :tag => "Algorithm"
11
11
 
12
12
  def initialize(*args)
13
- @algorithm = "http://www.w3.org/2001/04/xmlenc#sha256"
13
+ @algorithm = Saml::Config.digest_algorithm
14
14
  super(*args)
15
15
  end
16
16
  end
@@ -10,7 +10,7 @@ module Saml
10
10
  attribute :algorithm, String, :tag => "Algorithm"
11
11
 
12
12
  def initialize(*args)
13
- @algorithm = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
13
+ @algorithm = Saml::Config.signature_algorithm
14
14
  super(*args)
15
15
  end
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = '3.0.6'
2
+ VERSION = '3.0.7'
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: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-27 00:00:00.000000000 Z
11
+ date: 2017-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport