libsaml 2.11.2 → 2.12.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/assertion.rb +7 -7
- data/lib/saml/response.rb +2 -2
- 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: 766187c50ddffa2413bebaac9a7de5bcb8f5afee
|
4
|
+
data.tar.gz: 4dca4870bab598175b3d7b45efa2e4189f483952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58efb874d907557aef36264ebbe735ed10b701bf2599d27b46a3d09cd4ae3a1720f341b763a9574c5f6e175a0e4d86ad716e33e04d4a13d2db9ef627f99c47da
|
7
|
+
data.tar.gz: d036e0874e61469e25e14aed3359ad1ab5e38610b773dcee1b34d01cb353bdde653b6c52ebd1367e9a7efafaed1d2694b474a4b3e36ce58be0df15fd99253e2a
|
data/lib/saml/assertion.rb
CHANGED
@@ -15,13 +15,13 @@ module Saml
|
|
15
15
|
|
16
16
|
element :issuer, String, :namespace => 'saml', :tag => 'Issuer'
|
17
17
|
|
18
|
-
has_one :signature, Saml::Elements::Signature
|
19
|
-
has_one :subject, Saml::Elements::Subject
|
20
|
-
has_one :conditions, Saml::Elements::Conditions
|
21
|
-
has_one :advice, Saml::Elements::Advice
|
22
|
-
has_many :statements, Saml::ComplexTypes::StatementAbstractType
|
23
|
-
has_many :authn_statement, Saml::Elements::AuthnStatement
|
24
|
-
has_many :attribute_statements, Saml::Elements::AttributeStatement
|
18
|
+
has_one :signature, Saml::Elements::Signature, xpath: './'
|
19
|
+
has_one :subject, Saml::Elements::Subject, xpath: './'
|
20
|
+
has_one :conditions, Saml::Elements::Conditions, xpath: './'
|
21
|
+
has_one :advice, Saml::Elements::Advice, xpath: './'
|
22
|
+
has_many :statements, Saml::ComplexTypes::StatementAbstractType, xpath: './'
|
23
|
+
has_many :authn_statement, Saml::Elements::AuthnStatement, xpath: './'
|
24
|
+
has_many :attribute_statements, Saml::Elements::AttributeStatement, xpath: './'
|
25
25
|
|
26
26
|
validates :_id, :version, :issue_instant, :issuer, :presence => true
|
27
27
|
|
data/lib/saml/response.rb
CHANGED
@@ -3,7 +3,7 @@ module Saml
|
|
3
3
|
include Saml::ComplexTypes::StatusResponseType
|
4
4
|
|
5
5
|
tag "Response"
|
6
|
-
has_many :assertions, Saml::Assertion
|
6
|
+
has_many :assertions, Saml::Assertion, xpath: './'
|
7
7
|
has_many :encrypted_assertions, Saml::Elements::EncryptedAssertion
|
8
8
|
|
9
9
|
def authn_failed?
|
@@ -52,6 +52,6 @@ module Saml
|
|
52
52
|
|
53
53
|
def encrypted_assertion=(encrypted_assertion)
|
54
54
|
(self.encrypted_assertions ||= []) << encrypted_assertion
|
55
|
-
|
55
|
+
end
|
56
56
|
end
|
57
57
|
end
|
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.12.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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|