diff options
author | Johan Lundberg <lundberg@sunet.se> | 2020-09-30 10:57:20 +0200 |
---|---|---|
committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2020-10-30 12:55:25 +0200 |
commit | d912bebe9aab5bf9075e5d53b74be8d965cfe8be (patch) | |
tree | 85473bec20bf961c0e7044255d2b96eed2f4fea7 | |
parent | d19febc77caa859193126864486a26055f167250 (diff) | |
download | pysaml2-d912bebe9aab5bf9075e5d53b74be8d965cfe8be.tar.gz |
Policy needs metadata store to lookup registration authority for a SP
-rw-r--r-- | src/saml2/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/config.py b/src/saml2/config.py index 25218788..98bd0b59 100644 --- a/src/saml2/config.py +++ b/src/saml2/config.py @@ -270,7 +270,7 @@ class Config(object): def load_complex(self, cnf, typ="", metadata_construction=False): try: - self.setattr(typ, "policy", Policy(cnf["policy"])) + self.setattr(typ, "policy", Policy(cnf["policy"], config=self)) except KeyError: pass |