diff options
author | Hans Hörberg <haho0032@hashog.umdc.umu.se> | 2013-05-07 11:24:52 +0200 |
---|---|---|
committer | Hans Hörberg <haho0032@hashog.umdc.umu.se> | 2013-05-07 11:24:52 +0200 |
commit | 4f07b7acf24b4e1b332a912a313f95b7e999fe7c (patch) | |
tree | 7a24db2fd621bd66d9f62e26cbde6c5b8d505a08 | |
parent | 3db4d1a4249f8767ff48f1ba5d24c34366077d78 (diff) | |
download | pysaml2-4f07b7acf24b4e1b332a912a313f95b7e999fe7c.tar.gz |
Metadata neede to make the filter work
-rw-r--r-- | .gitignore | 14 | ||||
-rw-r--r-- | src/saml2/assertion.py | 1 |
2 files changed, 14 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..9732f99f 100644 --- a/src/saml2/assertion.py +++ b/src/saml2/assertion.py @@ -489,7 +489,6 @@ class Policy(object): ava = self.filter(ava, sp_entity_id, metadata, spec["required"], spec["optional"]) - return self.filter(ava, sp_entity_id, [], []) def conditions(self, sp_entity_id): """ Return a saml.Condition instance |