diff options
author | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-05-07 02:30:03 -0700 |
---|---|---|
committer | Roland Hedberg <roland.hedberg@adm.umu.se> | 2013-05-07 02:30:03 -0700 |
commit | bd48871a057a5513c9f98da7953fe4b7a479aacc (patch) | |
tree | 1300912b4ce53d3953debb2808509ee8898a92cc | |
parent | 3db4d1a4249f8767ff48f1ba5d24c34366077d78 (diff) | |
parent | ffdea8182286cd1df49043333049545593207e9f (diff) | |
download | pysaml2-bd48871a057a5513c9f98da7953fe4b7a479aacc.tar.gz |
Merge pull request #36 from HaToHo/master
Missing metadata in function call.
-rw-r--r-- | .gitignore | 14 | ||||
-rw-r--r-- | src/saml2/assertion.py | 2 |
2 files changed, 15 insertions, 1 deletions
@@ -69,3 +69,17 @@ example/sp2/sp.xml example/sp2/sp_conf.py example/sp2/who.ini + +example/idp2/idp.xml + +example/idp2/idp_conf_test.py + +example/idp2/metadata.xml + +example/idp2/modules/login.mako.py + +example/idp2/modules/root.mako.py + +example/idp3/idp_conf_test.py + +update diff --git a/src/saml2/assertion.py b/src/saml2/assertion.py index 4cd85c97..6d56e04d 100644 --- a/src/saml2/assertion.py +++ b/src/saml2/assertion.py @@ -489,7 +489,7 @@ class Policy(object): ava = self.filter(ava, sp_entity_id, metadata, spec["required"], spec["optional"]) - return self.filter(ava, sp_entity_id, [], []) + return self.filter(ava, sp_entity_id, metadata, []) def conditions(self, sp_entity_id): """ Return a saml.Condition instance |