We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4757940 commit d024eefCopy full SHA for d024eef
src/saml2/config.py
@@ -266,6 +266,15 @@ def load_complex(self, cnf):
266
raise ConfigurationError("No attribute converters, something is wrong!!")
267
self.setattr("", "attribute_converters", acs)
268
269
+ try:
270
+ self.setattr("", "metadata", self.load_metadata(cnf["metadata"]))
271
+ except KeyError:
272
+ pass
273
+
274
+ for srv, spec in cnf.get("service", {}).items():
275
+ policy_conf = spec.get("policy")
276
+ self.setattr(srv, "policy", Policy(policy_conf, self.metadata))
277
278
def load(self, cnf, metadata_construction=False):
279
""" The base load method, loads the configuration
280
0 commit comments