spid-es 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/spid/ruby-saml/authrequest.rb +3 -1
- data/lib/spid/ruby-saml/settings.rb +1 -1
- data/spid-es.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDc5NzQ1YTAxZTE4NzIxZjRhZjU3MTY1Yjg3ZDYxN2YxNTlhYzk4ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTc2ZmFkMmU2ZmM4N2NlMDAxOTVkNGY3ZmNjZjYxOGU0ZDVkZDFlNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjNhYzEwOTFhY2M0ODlhNzIyZWU3ODI1MWIyM2Q3MzA1YzBjZjBlNGYyZTJl
|
10
|
+
NGY2NzQyMWE2NjY3Yjg0MWY3YWI2NzI4NDE5OTg1YmFhM2RmOWJjN2JhZTg2
|
11
|
+
MThiMjc5Y2E2ZGU3MzFlNTFkNjZlMjU4ZDg4ODA1NzJmMWY2YzI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWM4OGE3Njc5YmIwNDE5NTM2OTIyZmMwOTJlYTk5Yzg5MWNhOTIxYWVkOTRl
|
14
|
+
ZWU4MDA2ZGI4OTA1ZjI3NmFiYzBlZWNhZWU0MGE4YWM1NDI5NDAyMzIzOTE2
|
15
|
+
MWMwYTc0NzcwNTM3NDE4N2YxNmE3Mzc1ZWZmOGYzN2Y0ZmNlNGI=
|
@@ -54,7 +54,8 @@ module Spid::Saml
|
|
54
54
|
|
55
55
|
unless @settings.issuer.blank?
|
56
56
|
issuer = root.add_element "saml:Issuer"
|
57
|
-
issuer.attributes['NameQualifier'] = @settings.issuer
|
57
|
+
issuer.attributes['NameQualifier'] = @settings.issuer #non metto @settings.sp_name_qualifier, questo valore deve essere uguale al
|
58
|
+
#entityID dei metadata che usa @settings.issuer
|
58
59
|
issuer.attributes['Format'] = "urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
|
59
60
|
issuer.text = @settings.issuer
|
60
61
|
end
|
@@ -65,6 +66,7 @@ module Spid::Saml
|
|
65
66
|
name_id = subject.add_element "saml:NameID"
|
66
67
|
name_id.attributes['Format'] = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
|
67
68
|
name_id.attributes['NameQualifier'] = @settings.sp_name_qualifier
|
69
|
+
name_id.text = @settings.sp_name_identifier
|
68
70
|
end
|
69
71
|
|
70
72
|
|
@@ -4,7 +4,7 @@ module Spid
|
|
4
4
|
module Saml
|
5
5
|
class Settings
|
6
6
|
|
7
|
-
attr_accessor :sp_name_qualifier, :sp_cert, :sp_private_key, :metadata_signed, :requested_attribute, :organization
|
7
|
+
attr_accessor :sp_name_qualifier, :sp_name_identifier, :sp_cert, :sp_private_key, :metadata_signed, :requested_attribute, :organization
|
8
8
|
attr_accessor :idp_sso_target_url, :idp_cert_fingerprint, :idp_cert, :idp_slo_target_url, :idp_metadata, :idp_metadata_ttl, :idp_name_qualifier
|
9
9
|
attr_accessor :assertion_consumer_service_binding, :assertion_consumer_service_url
|
10
10
|
attr_accessor :name_identifier_value, :name_identifier_format
|
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.
|
5
|
+
s.version = '0.0.12'
|
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.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabiano Pavan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: canonix
|