libsaml 2.1.7 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml/response.rb +8 -0
- 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: 4b06039fbf831d7a4f5d0f3950080e012ab15a04
|
4
|
+
data.tar.gz: f72bcd2766e407ac64df7d826caa791e55153863
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bfe8a831762af0b2eba657fa1aca09c10df85c2b222a8544e1f747a559992a4ce5366b76adb43aae8b81a717cc29291a893681f9e9845c34c93cd62f47d8b7c
|
7
|
+
data.tar.gz: 870dce6f4a6a513179bcc469b9fb84350785117f5360684bc328ec971c77d422089539a35c9e03606839ef87a4f068a2ff1cf2346320be34ecea615eb28962da
|
data/lib/saml/response.rb
CHANGED
@@ -18,6 +18,14 @@ module Saml
|
|
18
18
|
!success? && status.status_code.no_authn_context?
|
19
19
|
end
|
20
20
|
|
21
|
+
def encrypt_assertions(certificate)
|
22
|
+
@encrypted_assertions = []
|
23
|
+
assertions.each do |assertion|
|
24
|
+
@encrypted_assertions << Saml::Util.encrypt_assertion(assertion.to_xml, certificate)
|
25
|
+
end
|
26
|
+
assertions.clear
|
27
|
+
end
|
28
|
+
|
21
29
|
def assertion
|
22
30
|
assertions.first
|
23
31
|
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.1.
|
4
|
+
version: 2.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoist Claassen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|