lib/saml2/response.rb in saml2-1.0.0 vs lib/saml2/response.rb in saml2-1.0.1
- old
+ new
@@ -37,10 +37,9 @@
assertion = Assertion.new
assertion.subject = Subject.new
assertion.subject.name_id = name_id
assertion.subject.confirmation = Subject::Confirmation.new
assertion.subject.confirmation.method = Subject::Confirmation::Methods::BEARER
- assertion.subject.confirmation.not_before = Time.now.utc
assertion.subject.confirmation.not_on_or_after = Time.now.utc + 30
assertion.subject.confirmation.recipient = response.destination if response.destination
assertion.issuer = issuer
authn_statement = AuthnStatement.new
authn_statement.authn_instant = response.issue_instant