libsaml 3.0.8 → 3.0.9

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: 757bed8e562a18753a6399705298ead9b89576ab
4
- data.tar.gz: 7f0683b6ac0aa60c5dd6945dffb38148647d8373
3
+ metadata.gz: c61c9aa098bf58293c69e0767a47220786a85dfb
4
+ data.tar.gz: a17fefb79591195ebb27ebbd9bf5793fdeecd5f5
5
5
  SHA512:
6
- metadata.gz: 3457844e5d06973a6429eeb285a4015a50b3fc44673cc65a23521d5a0e01abac39de8381c7cb12b5a72b2fc07e570537b20f6d6a6a322e7124fb3f71b8575404
7
- data.tar.gz: 50853b5225ebe7bc3720cc427735c5bbdc0b39ade75e8a1c6aad4861257e265b9980c5fe3d73f6176001b15ddf38639bc2c55d8502321ec52e3bbc723f242c15
6
+ metadata.gz: be76f49a4e772bbe8092133c4fec19ba4ba9c661ed136f7c03d4fff365296ed1136d3d377e1957e962329ed1aed5522867577e3ec7b8695b8781fb433851f61c
7
+ data.tar.gz: a33e545c51bdf70110f879a4ff7b618cd421ad3515ecdf25f55b8a3d3af322722f44131076ab615cb9d0f94f9a59f78bd480766e8e23c222da3c7811d9e17a83
@@ -197,6 +197,9 @@ module Saml
197
197
  require 'saml/elements/entities_descriptor'
198
198
  require 'saml/elements/attribute_query'
199
199
  require 'saml/elements/evidence'
200
+ require 'saml/elements/idp_entry'
201
+ require 'saml/elements/idp_list'
202
+ require 'saml/elements/scoping'
200
203
  end
201
204
 
202
205
  module Rails
@@ -14,6 +14,7 @@ module Saml
14
14
  attribute :provider_name, String, :tag => "ProviderName"
15
15
 
16
16
  has_one :requested_authn_context, Saml::Elements::RequestedAuthnContext
17
+ has_one :scoping, Saml::Elements::Scoping
17
18
 
18
19
  validates :force_authn, :inclusion => [true, false, nil]
19
20
  validates :assertion_consumer_service_index, :numericality => true, :if => lambda { |val|
@@ -0,0 +1,16 @@
1
+ module Saml
2
+ module Elements
3
+ class IdpEntry
4
+ include Saml::Base
5
+
6
+ tag 'IDPEntry'
7
+ namespace 'samlp'
8
+
9
+ attribute :provider_id, String, :tag => 'ProviderID'
10
+ attribute :name, String, :tag => 'Name'
11
+ attribute :loc, String, :tag => 'Loc'
12
+
13
+ validates :provider_id, :presence => true
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,19 @@
1
+ module Saml
2
+ module Elements
3
+ class IdpList
4
+ include Saml::Base
5
+
6
+ tag 'IDPList'
7
+ namespace 'samlp'
8
+
9
+ has_many :idp_entries, Saml::Elements::IdpEntry
10
+
11
+ validates :idp_entries, :presence => true
12
+
13
+ def initialize(*args)
14
+ super(*args)
15
+ self.idp_entries ||= []
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,12 @@
1
+ module Saml
2
+ module Elements
3
+ class Scoping
4
+ include Saml::Base
5
+
6
+ tag 'Scoping'
7
+ namespace 'samlp'
8
+
9
+ has_one :idp_list, Saml::Elements::IdpList
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module Saml
2
- VERSION = '3.0.8'
2
+ VERSION = '3.0.9'
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.8
4
+ version: 3.0.9
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-06-04 00:00:00.000000000 Z
11
+ date: 2017-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -188,6 +188,8 @@ files:
188
188
  - lib/saml/elements/entity_attributes.rb
189
189
  - lib/saml/elements/entity_descriptor.rb
190
190
  - lib/saml/elements/evidence.rb
191
+ - lib/saml/elements/idp_entry.rb
192
+ - lib/saml/elements/idp_list.rb
191
193
  - lib/saml/elements/idp_sso_descriptor.rb
192
194
  - lib/saml/elements/key_descriptor.rb
193
195
  - lib/saml/elements/key_info.rb
@@ -203,6 +205,7 @@ files:
203
205
  - lib/saml/elements/requested_attribute.rb
204
206
  - lib/saml/elements/requested_authn_context.rb
205
207
  - lib/saml/elements/samlp_extensions.rb
208
+ - lib/saml/elements/scoping.rb
206
209
  - lib/saml/elements/service_description.rb
207
210
  - lib/saml/elements/service_name.rb
208
211
  - lib/saml/elements/session_index.rb