Added sp entity id for assertion with only attributes in advice element.

Without sp entity id the ec filtering was not performed.
This commit is contained in:
Hans Hörberg
2015-03-19 16:54:11 +01:00
parent eb3efaa4f5
commit 60271e02f4

View File

@@ -358,7 +358,7 @@ class Server(Entity):
# authn_statement = None
if encrypt_assertion and encrypted_advice_attributes:
assertion_attributes = self.setup_assertion(None, None, None, None, None, policy,
assertion_attributes = self.setup_assertion(None, sp_entity_id, None, None, None, policy,
None, None, identity, best_effort, sign_response, False)
assertion = self.setup_assertion(authn, sp_entity_id, in_response_to, consumer_url,
name_id, policy, _issuer, authn_statement, [], True,