spid-es 0.0.39 → 0.0.40

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: a41cf6a90ed7da1e2bee69c9fd5b04ea5a7115da5e5b81064c25ea6c47eb45b6
4
- data.tar.gz: e9dd7a96c37a66c5c7bda3f2b06d621a47485452c58643f207615f4738bf4c41
3
+ metadata.gz: aec9beb93fb42dba8f0203fad88e2dabf65e276c6395e19cf92e2e165c9c2f4f
4
+ data.tar.gz: 0e0836070cda5dcc33c089e48519d58866fa43e3574fbecd38249191f36bb85c
5
5
  SHA512:
6
- metadata.gz: 32f122352d3317bdb2c651c36687211dde1923f08d21ab740dfe6c0f343ae136831cacc87edc8ef879d89e2896f0238262d8956014f8975458b5257dd3837481
7
- data.tar.gz: 911f7d0953ed2728660c3a53637e6eb3f3b71a17a2f102e22cf4839298bf6b912b26eefaf09076070079ed95b43183b830b890d65108d4ba26ef34cc429c2523
6
+ metadata.gz: 236ce0c3aa6da8d8468d02ab195c708d2f6cda0f80112bfeca63fba4ec48238d329bfe98b027c988c6a2c6691b789d9f5f61dcb9d3b3a96c282bfe4f86dab576
7
+ data.tar.gz: 858ce0f3f1eed80bf3d66e2e42e326cd01c0cbfe515b86f78f80a3f042bf2f3a5b7eb47467bad89e8302aca5c5cd07583c799c99f88f8d19a6f99bb5013cb66e
@@ -30,7 +30,7 @@ module Spid::Saml
30
30
  request_doc = Spid::XMLSecurityNew::Document.new
31
31
  request_doc.context[:attribute_quote] = :quote
32
32
  root = request_doc.add_element "saml2p:AuthnRequest", { "xmlns:saml2p" => "urn:oasis:names:tc:SAML:2.0:protocol",
33
- "xmlns:saml" => "urn:oasis:names:tc:SAML:2.0:assertion"
33
+ "xmlns:saml2" => "urn:oasis:names:tc:SAML:2.0:assertion"
34
34
  }
35
35
  root.attributes['ID'] = uuid
36
36
  root.attributes['IssueInstant'] = time
@@ -53,7 +53,7 @@ module Spid::Saml
53
53
  end
54
54
 
55
55
  unless @settings.issuer.blank?
56
- issuer = root.add_element "saml:Issuer", { "xmlns:saml" => "urn:oasis:names:tc:SAML:2.0:assertion" }
56
+ issuer = root.add_element "saml2:Issuer", { "xmlns:saml2" => "urn:oasis:names:tc:SAML:2.0:assertion" }
57
57
  #l'attributo NameQualifier deve essere presente, non rispetta saml...
58
58
  issuer.attributes['NameQualifier'] = ( @settings.aggregato ? @settings.sp_name_qualifier : @settings.issuer )
59
59
  issuer.attributes['Format'] = "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
@@ -88,7 +88,7 @@ module Spid::Saml
88
88
  }
89
89
  context_class = []
90
90
  @settings.authn_context.each_with_index{ |context, index|
91
- context_class[index] = requested_context.add_element "saml:AuthnContextClassRef"
91
+ context_class[index] = requested_context.add_element "saml2:AuthnContextClassRef"
92
92
  context_class[index].text = context
93
93
  }
94
94
 
@@ -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.39'
5
+ s.version = '0.0.40'
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spid-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.39
4
+ version: 0.0.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabiano Pavan