spid-es 0.0.55 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b17fe32559b948252a346fd6bfd106dbe35198bdf300c0802c081f0170ef241
4
- data.tar.gz: dc1bae993b385975f6d93268bc6a7ecf3b1adebf438972a1283010a15118edb2
3
+ metadata.gz: 0527cbceb4aae007163c49f2ce362348db996e7daac4e0f3e3d15ff2a0fbe6f1
4
+ data.tar.gz: 49c545d870844e05d5878167aa7378f31ac58e569350e68de0eb04259dc34493
5
5
  SHA512:
6
- metadata.gz: 7b7b27b6b710c4141a458cb8c17b707ef6839b7f2a4adce81b79d5bdcea9f5f8faa82e322cdf95246fd1e3e117da41af85a6ff62d46601ce53668af40b1a0d72
7
- data.tar.gz: c905e74ddda1b01a684c71188e542c5ba2672831f014a224320d0993166d757ff765c5258401773c9ab91aa8daa5467de094e0f1ca81bce31ffe03e79f2791cc
6
+ metadata.gz: 2359a1b61ffbce7ae16f1c69091be800e4661f47b6922abf56d446766a5bb66c2f5abf371fa6d9675d23542d921a2a919c48213c7087e679be848fca1a7dc09a
7
+ data.tar.gz: 829b1738ac07f89aa47fc1cffa2cf25b3cbb67e759f5c1a82b93b0b2e55435d6b63d0552c40931ee50cac216d91b2b9527fb47f52c73ea3bb193f13103f04b49
@@ -48,9 +48,7 @@ module Spid::Saml
48
48
  root.attributes['Destination'] = @settings.single_logout_destination
49
49
 
50
50
  issuer = root.add_element "saml2:Issuer", { "xmlns:saml2" => ASSERTION }
51
- issuer.attributes['Format'] = "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
52
- #issuer.text = @settings.issuer
53
- #per la federazione trentina qui ci vanno i metadati...
51
+ issuer.attributes['Format'] = "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
54
52
  issuer.text = @settings.idp_metadata
55
53
 
56
54
  name_id = root.add_element "saml2:NameID", { "xmlns:saml2" => ASSERTION }
@@ -59,7 +57,7 @@ module Spid::Saml
59
57
  name_id.text = opt[:name_id]
60
58
  # I believe the rest of these are optional
61
59
  if @settings && @settings.sp_name_qualifier
62
- name_id.attributes["SPNameQualifier"] = @settings.sp_name_qualifier
60
+ issuer.attributes["NameQualifier"] = @settings.sp_name_qualifier
63
61
  end
64
62
  if opt[:session_index]
65
63
  session_index = root.add_element "saml2p:SessionIndex" #, { "xmlns:samlp" => PROTOCOL }
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.55'
5
+ s.version = '0.0.56'
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.55
4
+ version: 0.0.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabiano Pavan