libsaml 3.2.1 → 3.2.2

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: a1844c5041f664b831dfb9cb27177c4e7f81feea
4
- data.tar.gz: f5baebd556e8b7e565e68f6b6acc6e1e4cde1e9a
3
+ metadata.gz: dbada4b215e191b20ac43b7f660357488aa3f653
4
+ data.tar.gz: 441f6279105d4bbe5c979c86236dc12e1a8513e7
5
5
  SHA512:
6
- metadata.gz: 709aee42468ea18894abd983422906160a9b34ce853cd3ba0a94ff2f9bad4528523f1b6b64beeac1fc18c230aa171f7673bee09507d72e979c12d81526caf6a0
7
- data.tar.gz: 04a734a019b962e1f80c46de47cf1917f28424a8e5938943b4cada784e49d4c3ca663f9a78ea5277afc7e3ebeb2228b7d3367a28835e15b7afe799069d637685
6
+ metadata.gz: 25f52d94c02793dc5199921bb2a5f126d686f945aa2d72d2672ed7e9994acb568a1c1a008e59cf0ba94bbda4b432e539d1faf85bb809d28c77fd4fe00690d129
7
+ data.tar.gz: 268fa8e37192828053a4735c9b9376d8b80266b448d6a1f0df4e7000fbf5766cfa6639ebd93d775e57294a224503b370a1912a9f07d916cdd00be136d1cea764
data/lib/saml.rb CHANGED
@@ -200,6 +200,7 @@ module Saml
200
200
  require 'saml/elements/idp_entry'
201
201
  require 'saml/elements/idp_list'
202
202
  require 'saml/elements/scoping'
203
+ require 'saml/elements/name_id_policy'
203
204
  end
204
205
 
205
206
  module Rails
@@ -15,6 +15,7 @@ module Saml
15
15
 
16
16
  has_one :requested_authn_context, Saml::Elements::RequestedAuthnContext
17
17
  has_one :scoping, Saml::Elements::Scoping
18
+ has_one :name_id_policy, Saml::Elements::NameIdPolicy
18
19
 
19
20
  validates :force_authn, :inclusion => [true, false, nil]
20
21
  validates :assertion_consumer_service_index, :numericality => true, :if => lambda { |val|
@@ -0,0 +1,14 @@
1
+ module Saml
2
+ module Elements
3
+ class NameIdPolicy
4
+ include Saml::Base
5
+
6
+ tag 'NameIDPolicy'
7
+ namespace 'samlp'
8
+
9
+ attribute :allow_create, Boolean, tag: "AllowCreate"
10
+ attribute :format, String, tag: "Format"
11
+
12
+ end
13
+ end
14
+ end
data/lib/saml/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = '3.2.1'
2
+ VERSION = '3.2.2'
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.2.1
4
+ version: 3.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoist Claassen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-28 00:00:00.000000000 Z
11
+ date: 2018-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -197,6 +197,7 @@ files:
197
197
  - lib/saml/elements/md_extensions.rb
198
198
  - lib/saml/elements/name_id.rb
199
199
  - lib/saml/elements/name_id_format.rb
200
+ - lib/saml/elements/name_id_policy.rb
200
201
  - lib/saml/elements/organization.rb
201
202
  - lib/saml/elements/organization_display_name.rb
202
203
  - lib/saml/elements/organization_name.rb