lib/saml/artifact.rb in libsaml-2.0.6 vs lib/saml/artifact.rb in libsaml-2.1.0

- old
+ new

@@ -12,10 +12,10 @@ def initialize(artifact = nil) if artifact @artifact = artifact else - source_id = ::Digest::SHA1.digest(Saml::Config.entity_id) + source_id = ::Digest::SHA1.digest(Saml.current_provider.entity_id) message_handle = ::SecureRandom.random_bytes(20) @type_code = TYPE_CODE @endpoint_index = END_POINT_INDEX @artifact = Saml::Encoding.encode_64 [@type_code, @endpoint_index, source_id, message_handle].join end