spid-es 0.0.52 → 0.0.53

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
  SHA256:
3
- metadata.gz: 4aab4f75028c05ce09de5ff21ff5f4ee520b09e0b2046fdc97bd022a7bbb34e2
4
- data.tar.gz: c720579eb84e2e2c384058fd502ff406301ed5effa04ad541f32cae732edf5e8
3
+ metadata.gz: 74c208eacd57a4de167aff12ce910cb10089737d1b4252eff6b7e6a794e14a56
4
+ data.tar.gz: 537d35286b97391c9411a9c49da98e970117c072b1966cee527fda168fc8bad7
5
5
  SHA512:
6
- metadata.gz: e7f953ec64ceb4555c32b3f7e14c33858940516969ca55d0eb065e39d78aa3ec90c133bd3077e73e5ff4bdf1d7b867a61c27c05f49a91db76a8a9e24a0443479
7
- data.tar.gz: 490a5d7d0ed685831a9139138a7af84ef9f8724e48731907946592248ffcb90646c4d6ce56f9dbaabfa74d1318fab402283797dd086a6e7d045a062e48bf6774
6
+ metadata.gz: 3f3ae005200bbdcbe2f3e79d14e12f43da15b9bb3991da688bde07fef82b94905dbb57fc9c1209ed9410a1f50332c47dc36c24c9af8a50b07119ed40ee1f2823
7
+ data.tar.gz: 78c674fdcc668a1be3667ed11de60a36fb95f2a49c72f973d8115d929ff845f16ad34ab3c59509dbc77fb0b110bbf28b704a646b079767b4a4412dbf2c1e3b7c
@@ -160,18 +160,13 @@ module Spid
160
160
  return (soft ? false : validation_error("Issuer of the Assertion not found or multiple."))
161
161
  end
162
162
 
163
+ unless settings.no_valid_agid
164
+ issuer_response_nodes.each{ |iss|
165
+ #controllo: L'attributo Format di Issuer deve essere presente con il valore urn:oasis:names:tc:SAML:2.0:nameid-format:entity
166
+ return (soft ? false : validation_error("Elemento Issuer non ha formato corretto ")) if !iss.attributes['Format'].nil? && iss.attributes['Format'] != 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity'
163
167
 
164
- issuer_response_nodes.each{ |iss|
165
- #controllo: L'attributo Format di Issuer deve essere presente con il valore urn:oasis:names:tc:SAML:2.0:nameid-format:entity
166
- return (soft ? false : validation_error("Elemento Issuer non ha formato corretto ")) if !iss.attributes['Format'].nil? && iss.attributes['Format'] != 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity'
167
-
168
- }
169
-
170
- issuer_assertion_nodes.each{ |iss|
171
- #controllo: L'attributo Format di Issuer deve essere presente con il valore urn:oasis:names:tc:SAML:2.0:nameid-format:entity
172
- return (soft ? false : validation_error("Elemento Issuer non ha formato corretto ")) if iss.attributes['Format'] != 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity'
173
-
174
- }
168
+ }
169
+ end
175
170
 
176
171
  nodes = issuer_response_nodes + issuer_assertion_nodes
177
172
 
data/spid-es.gemspec CHANGED
@@ -2,7 +2,7 @@ $LOAD_PATH.push File.expand_path('../lib', __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'spid-es'
5
- s.version = '0.0.52'
5
+ s.version = '0.0.53'
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fabiano Pavan"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spid-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.52
4
+ version: 0.0.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabiano Pavan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-18 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix