libsaml 2.15.6 → 2.15.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml.rb +8 -7
- data/lib/saml/elements/status_code.rb +4 -0
- data/lib/saml/response.rb +4 -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: 0ea130c5707860abadc061f0e6ebf45f9f0717d0
|
4
|
+
data.tar.gz: 83e251855daa6d16d87db486f6611cdfa9693721
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ecb40c913d12f9660494487899f68b5ed4f265536ad2a8f91c182485a33dd2584e29a4a912c85bfc858e155e5e1ca67769b72b2ca26870820c465dc57226859
|
7
|
+
data.tar.gz: 1506fde80e3aba26f41e938a84ccf4287d246c6a036b66ba1449a62ccc573f88e01f0471a6b39474248519afc472279f12a4373350184619c2d2bcb2dbdf7133
|
data/lib/saml.rb
CHANGED
@@ -59,13 +59,14 @@ module Saml
|
|
59
59
|
end
|
60
60
|
|
61
61
|
module SubStatusCodes
|
62
|
-
AUTHN_FAILED
|
63
|
-
NO_AUTHN_CONTEXT
|
64
|
-
PARTIAL_LOGOUT
|
65
|
-
REQUEST_DENIED
|
66
|
-
|
67
|
-
|
68
|
-
|
62
|
+
AUTHN_FAILED = 'urn:oasis:names:tc:SAML:2.0:status:AuthnFailed'
|
63
|
+
NO_AUTHN_CONTEXT = 'urn:oasis:names:tc:SAML:2.0:status:NoAuthnContext'
|
64
|
+
PARTIAL_LOGOUT = 'urn:oasis:names:tc:SAML:2.0:status:PartialLogout'
|
65
|
+
REQUEST_DENIED = 'urn:oasis:names:tc:SAML:2.0:status:RequestDenied'
|
66
|
+
REQUEST_UNSUPPORTED = 'urn:oasis:names:tc:SAML:2.0:status:RequestUnsupported'
|
67
|
+
UNKNOWN_PRINCIPAL = 'urn:oasis:names:tc:SAML:2.0:status:UnknownPrincipal'
|
68
|
+
|
69
|
+
ALL = [AUTHN_FAILED, NO_AUTHN_CONTEXT, PARTIAL_LOGOUT, REQUEST_DENIED, REQUEST_UNSUPPORTED, UNKNOWN_PRINCIPAL]
|
69
70
|
end
|
70
71
|
|
71
72
|
module Bindings
|
@@ -30,6 +30,10 @@ module Saml
|
|
30
30
|
sub_status_code.value == SubStatusCodes::REQUEST_DENIED
|
31
31
|
end
|
32
32
|
|
33
|
+
def request_unsupported?
|
34
|
+
sub_status_code.value == SubStatusCodes::REQUEST_UNSUPPORTED
|
35
|
+
end
|
36
|
+
|
33
37
|
def no_authn_context?
|
34
38
|
sub_status_code.value == SubStatusCodes::NO_AUTHN_CONTEXT
|
35
39
|
end
|
data/lib/saml/response.rb
CHANGED
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.15.
|
4
|
+
version: 2.15.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: 2015-
|
11
|
+
date: 2015-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|