spid-es 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDc5NzQ1YTAxZTE4NzIxZjRhZjU3MTY1Yjg3ZDYxN2YxNTlhYzk4ZA==
4
+ MGQ4YTAzYWM1NWMzOTM2ZjRmMjNmMWIzMmMwZTNmYzdiNTIwODAwZg==
5
5
  data.tar.gz: !binary |-
6
- YTc2ZmFkMmU2ZmM4N2NlMDAxOTVkNGY3ZmNjZjYxOGU0ZDVkZDFlNA==
6
+ NWYzZmVjMjg2ODQ4MTIzZmI3YjI3NzFlMDEzMzU0ZmE3NjAxY2JlNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjNhYzEwOTFhY2M0ODlhNzIyZWU3ODI1MWIyM2Q3MzA1YzBjZjBlNGYyZTJl
10
- NGY2NzQyMWE2NjY3Yjg0MWY3YWI2NzI4NDE5OTg1YmFhM2RmOWJjN2JhZTg2
11
- MThiMjc5Y2E2ZGU3MzFlNTFkNjZlMjU4ZDg4ODA1NzJmMWY2YzI=
9
+ YjU1NjMyMjNjYjgwODZiZDJjOTk5ZDgxNWMzZmJmNmZkZGIxMjY0NzYwZDRi
10
+ MDQzY2ZhZTIwYWY0MWQzYzgzOWJiYmUyNjAzZDU5YjU2NWU0NWFlYjE4ODFm
11
+ N2JjOWNjODc5N2RjZTMzZGU3ZDdmZDE4NGY3MzQzOTllNWYxNTM=
12
12
  data.tar.gz: !binary |-
13
- ZWM4OGE3Njc5YmIwNDE5NTM2OTIyZmMwOTJlYTk5Yzg5MWNhOTIxYWVkOTRl
14
- ZWU4MDA2ZGI4OTA1ZjI3NmFiYzBlZWNhZWU0MGE4YWM1NDI5NDAyMzIzOTE2
15
- MWMwYTc0NzcwNTM3NDE4N2YxNmE3Mzc1ZWZmOGYzN2Y0ZmNlNGI=
13
+ MTNiN2Q1YTE4YTgyYWZmNTljMzQzZmY5ODgzYTFiNzkyMTQ3MjlkZTgyMTIy
14
+ MWY2ZjA3YTE5ZWExZmRlNzRmMzExZWQyYmNmMmU4ODBlNmVkMTJmNTZkNTlm
15
+ YjMwOTQ1ZDYyZDQ2MDhiZDZmYjE2ZGJkNzZmOTQ5YTZjZDM1NWY=
@@ -36,11 +36,11 @@ module Spid::Saml
36
36
  root.attributes['IssueInstant'] = time
37
37
  root.attributes['Version'] = "2.0"
38
38
  #root.attributes['ProtocolBinding'] = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
39
- root.attributes['AttributeConsumingServiceIndex'] = "0"
39
+ root.attributes['AttributeConsumingServiceIndex'] = @settings.assertion_consumer_service_index
40
40
  root.attributes['ForceAuthn'] = "true"
41
41
  #root.attributes['IsPassive'] = "false"
42
42
  #usato AssertionConsumerServiceURL e ProtocolBinding in alternativa, pag 8 regole tecniche
43
- root.attributes['AssertionConsumerServiceIndex'] = "0"
43
+ root.attributes['AssertionConsumerServiceIndex'] = @settings.attribute_consuming_service_index
44
44
 
45
45
  #Tolto, utilizzo AssertionConsumerServiceIndex
46
46
  # # Conditionally defined elements based on settings
@@ -6,7 +6,7 @@ module Spid
6
6
 
7
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
- attr_accessor :assertion_consumer_service_binding, :assertion_consumer_service_url
9
+ attr_accessor :assertion_consumer_service_binding, :assertion_consumer_service_url, :assertion_consumer_service_index, :attribute_consuming_service_index
10
10
  attr_accessor :name_identifier_value, :name_identifier_format
11
11
  attr_accessor :sessionindex, :issuer, :destination_service_url, :authn_context, :requester_identificator
12
12
  attr_accessor :single_logout_service_url, :single_logout_service_binding, :single_logout_destination
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.12'
5
+ s.version = '0.0.13'
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.12
4
+ version: 0.0.13
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-23 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: canonix